Skip to main content

<ThunderIDSignedOut />

The ThunderIDSignedOut component renders its default slot only when the user is not authenticated. It is auto-registered by the Nuxt module.

Usage

Basic Usage

pages/index.vue
<template>
<ThunderIDSignedOut>
<ThunderIDSignInButton />
</ThunderIDSignedOut>
</template>

With a Fallback

Use the fallback slot to show content when the user is signed in:

components/NavBar.vue
<template>
<ThunderIDSignedOut>
<ThunderIDSignInButton />
<template #fallback>
<ThunderIDUserDropdown />
</template>
</ThunderIDSignedOut>
</template>

Slots

SlotDescription
defaultContent rendered when the user is not authenticated
fallbackContent rendered when the user is authenticated
ThunderID LogoThunderID Logo

Product

DocsAPIsSDKs
© WSO2 LLC. All rights reserved.Privacy PolicyCookie Policy