Skip to main content

%OAuth2.Server.Claim

Class %OAuth2.Server.Claim Extends %SerialObject [ System = 4 ]

%OAuth2.Server.Claim defines a claim that is requested for an access token, userinfo endpoint or IDToken. The value to be returned for the claim will have the same key in the ClaimValues property of %OAuth2.Server.Properties.

Properties

Essential

Property Essential As %Boolean [ InitialExpression = 0 ];

Essential is true if the claim is essential. Default is false for voluntary claim.

Values

Property Values As list Of %String(MAXLEN = 2048);

Values is the list of permissible values for this claim either from the value or values property of the claims object.

Methods

LogString

ClassMethod LogString(claim As %OAuth2.Server.Claim) As %String [ Internal ]

Serialize claim defintion for logging