<AsgardeoSignedOut />
You're reading Identity & Access Management 7.2.0. The newest release is 7.3.0, and Cloud has the newest features. Go to the newest release
<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
<template>
<AsgardeoSignedOut>
<AsgardeoSignInButton />
</AsgardeoSignedOut>
</template>
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. |
Was this page helpful?