Skip to main content


Get the value of a given Hasura claim in the current access token (JWT). Returns null if the user is not authenticated, or if the claim is not in the token. Return null if the user is not authenticated (no token)


{@link|Hasura documentation}


name required string

name of the variable. Automatically adds the x-hasura- prefix if it is missing