Documentation home page
Search...
⌘K
Ask AI
Support
Dashboard
Dashboard
Search...
Navigation
Auth
getDecodedAccessToken()
Documentation
Reference
Guides
Documentation
Documentation
Community
Blog
API Documentation
Overview
Backend Services
Authentication
Storage
GraphQL
AI
Client Libraries
JavaScript
Auth
HasuraAuthClient
changeEmail()
changePassword()
createPAT()
getAccessToken()
getAuthenticationStatus()
getDecodedAccessToken()
getHasuraClaim()
getHasuraClaims()
getSession()
getUser()
isAuthenticated()
isAuthenticatedAsync()
onAuthStateChanged()
onTokenChanged()
refreshSession()
resetPassword()
sendVerificationEmail()
signIn()
signInPAT()
signOut()
signUp()
addSecurityKey()
elevateEmailSecurityKey()
connectProvider()
Storage
GraphQL
Functions
React
Next.js
Vue
Auth
getDecodedAccessToken()
Use
nhost.auth.getDecodedAccessToken
to get the decoded access token of the user.
Copy
Ask AI
const
decodedAccessToken
=
nhost
.
auth
.
getDecodedAccessToken
()
getAuthenticationStatus()
getHasuraClaim()
Assistant
Responses are generated using AI and may contain mistakes.