Skip to content

Documentation / react-auth / useIdentityToken

Function: useIdentityToken() ​

useIdentityToken(): Object

Use this hook to get the identity token. Allows you to pass the identity token in your requests.

Returns ​

Object

identityToken - {string | null} - The identity token of the user.

identityToken ​

identityToken: null | string