The SYS.OAuth2.Validation class defines the methods used to validate an access token or ID token. More...
Static Public Member Functions | |
_.Library.Boolean | ValidateIDToken (_.Library.String applicationName, _.Library.String IDToken, _.Library.String accessToken, _.Library.String scope, _.Library.String aud, _.Library.RegisteredObject jsonObject, _.Library.String securityParameters, _.Library.Status sc) |
ValidateIDToken validates the signed OpenID Connect ID token and creates an object to reflect the JWT properties. More... | |
_.Library.Boolean | ValidateJWT (_.Library.String applicationName, _.Library.String accessToken, _.Library.String scope, _.Library.String aud, _.Library.DynamicObject jsonObject, _.Library.String securityParameters, _.Library.Status sc, _.Library.DynamicObject headerObject) |
ValidateJWT validates the given JWT token and creates an object to reflect the JWT properties. More... | |
The SYS.OAuth2.Validation class defines the methods used to validate an access token or ID token.
|
static |
ValidateIDToken validates the signed OpenID Connect ID token and creates an object to reflect the JWT properties.
ValidateIDToken also validates the access token based on the at_hash property of the IDToken.
|
static |
ValidateJWT validates the given JWT token and creates an object to reflect the JWT properties.
This method will accept both signed and unsigned tokens. Applications that require tokens to be signed should inspect securityParameters("sigalg"). If this value is undefined, then the given token was not signed.