Documentation home pagelight logodark logo
  • Support
  • Dashboard
  • Dashboard
getHasuraClaims()
Welcome
Getting Started
Products
Platform
Reference
Blog
  • Overview
Backend Services
  • Authentication
  • Storage
  • AI
Client Libraries
  • Javascript
    • nhost-js
    • 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()
      • signInEmailOTP()
      • verifyEmailOTP()
      • signInIdToken()
      • linkIdToken()
      • signInSecurityKey()
    • Storage
    • GraphQL
    • Functions
  • React
  • Next.js
  • Vue
  • React Native
CLI
  • Commands

getHasuraClaims()

Use nhost.auth.getHasuraClaims to get the Hasura claims of the user.

const hasuraClaims = nhost.auth.getHasuraClaims()

Was this page helpful?

Suggest editsRaise issue
getHasuraClaim()getSession()
twittergithublinkedin
Powered by Mintlify