Question
· Nov 14, 2017

Claims values

Hi communauty

i work on the Oauth2 authentification patry in my application , i read a lot of documentation , but i don't know exactly what does it mean by Claims values and the method "SetClaimValue", what does it do really?

can anyone explain for me.

Thank's.

Discussion (1)0
Log in or sign up to continue

Soufiane,

briefly, perhaps not 100% correctly - use Google for more details, claims are characteristics provided by OIDC (OpenID Connect) server that describe authenticated user. e.g. Caché by default supports these claims (and more):

preferred_username, email, email_verified, name, phone_number, phone_number_verified, iss, sub, aud, exp, auth_time, ...

claims can be used by the access_token to provide additional information about the user passed to the resource server when calling REST method. Some claims are mandatory, some are optional. You can provide optional claims by the SetClaimValue() method.

Dan