Skip to main content

<ThunderIDOrganization />

The ThunderIDOrganization component provides access to the current organization object via a scoped slot. It is auto-registered by the Nuxt module.

Usage

pages/dashboard.vue
<template>
<ThunderIDOrganization>
<template #default="{ organization }">
<div v-if="organization">
<h1>{{ organization.name }}</h1>
<p>ID: {{ organization.id }}</p>
</div>
</template>
<template #fallback>
<p>No organization selected.</p>
</template>
</ThunderIDOrganization>
</template>

Slots

SlotSlot PropsDescription
default{ organization: Organization | null }Receives the current organization object
fallbackRendered when no organization is active

Organization Slot Prop

PropertyTypeDescription
idstringThe organization's unique identifier
namestringThe organization's display name
refstring | nullAn optional external reference identifier
ThunderID LogoThunderID Logo

Product

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