<AsgardeoSignedOut />
<AsgardeoSignedOut> renders its content only when the user is signed out of the WSO2 Identity Server Nuxt SDK (@asgardeo/nuxt).
Overview¶
<AsgardeoSignedOut> reads isSignedIn from useAsgardeo(). When the user is signed out, it renders its default slot. Otherwise, it renders the fallback slot, or nothing if you don't provide one.
Usage¶
The component is auto-registered, so you don't need to import it.
Basic usage¶
With a fallback¶
<template>
<AsgardeoSignedOut>
<AsgardeoSignInButton />
<template #fallback>
<AsgardeoSignOutButton />
</template>
</AsgardeoSignedOut>
</template>
Props¶
<AsgardeoSignedOut> has no props.
Slots¶
| Slot | Description |
|---|---|
default |
Content to render when the user is signed out. |
fallback |
Content to render when the user is signed in. |