TokenHashValidator
Index
Methods
Methods
validate
Validates the given access token, using the
at_hashords_hashvalue from the supplied ID token, if it is present.Parameters
string: String
String value of the token to validate.
idToken: JWT
ID token that may contain the appropriate hash to compare.
Returns void
Protocol used to implement token validation using either the
at_hashords_hashproperties from an ID token.Instances of this protocol may be assigned to Token.accessTokenValidator or Token.deviceSecretValidator to override the mechanisms used to validate tokens.
A default implementation will automatically be used if this value is not changed.