Skip to main content

Vue

Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

Composables and plugins to add authentication to any Vue.js application.

API reference​

Every export is fully typed. The signatures and props below come from the package's own reference documentation, so what is listed here is what the installed version ships.

See the full API reference for every export, its signature and an example.

Composables​

  • useThunderID() (hook): The useThunderID composable provides access to the Choreo Identity & Access Management authentication context in Vue applications.

Components​

  • <ChangeCredential /> (component): The ChangeCredential component renders a form that lets a signed-in user set a new value for one of their own credentials.

  • <Loading /> (component): The Loading component renders its default slot while the authentication state is being determined.

  • <SignInButton /> (component): The SignInButton component initiates the sign-in flow when clicked.

  • <SignOutButton /> (component): The SignOutButton component signs out the current user, clears their session, and revokes authentication tokens when clicked.

  • <SignUpButton /> (component): The SignUpButton component triggers the sign-up (registration) flow when clicked.

  • <SignedIn /> (component): The SignedIn component conditionally renders its default slot only when the user is authenticated with Choreo Identity & Access Management.

  • <SignedOut /> (component): The SignedOut component conditionally renders its default slot only when the user is not authenticated with Choreo Identity & Access Management.

  • <User /> (component): The User component is a declarative way to access the authenticated user object from the Choreo Identity & Access Management authentication context.

  • <UserDropdown /> (component): The UserDropdown component renders an avatar button that opens a dropdown menu with user information and common actions like viewing the profile and signing out.

  • <UserProfile /> (component): The UserProfile component renders a complete user profile management interface where users can view and edit their personal information.

Providers​

  • <ThunderIDProvider /> (export): The ThunderIDProvider is the root provider component that configures @thunderid/vue and provides Choreo Identity & Access Management context to your entire Vue application.

Get started​

Provider, session, and a protected route, start to finish.

Connect your application: Getting started / Connect your application / Vue

The quickstart is maintained alongside the rest of the getting-started guides so it stays in step with the platform. This page covers the package itself.

Guides​

Task-focused walkthroughs maintained alongside the SDK.

  • Accessing Protected APIs: Make authenticated HTTP requests from a Vue application using the Browser SDK's built-in HTTP client.

  • Protecting Routes: Secure routes in a Vue application by requiring authentication before rendering protected views.

Was this page helpful?