Application Programming Interface Guide > Built-in Procedures > Procedures Reference > HasClaim
 
HasClaim
Returns a boolean value to indicate if a specific Claim provided exists or not in the bearer token. The built-in procedure is also discussed in the TDV Administration Guide chapter OAuth Administration.
Location
/lib/users
Input
The claim name that is carried on the bearer token sent by the Client Application.
Output
Returns TRUE if the claim name exists in the token and FALSE if it does not.