TokenValidatorResponse
The validateToken method returns an object of type TokenValidatorResponse. Similar to the TokenValidatorParameters object, this just holds a collection of objects that is parsed by the STS operation to construct a response to the client. The properties are:
- ReceivedToken token - Represents the token that was received for validation. If the token is determined valid, then the ReceivedToken will be given a valid state ReceivedToken.STATE.VALID, otherwise STATE.INVALID or STATE.EXPIRED
- Principal principal - A principal corresponding to the validated token.
- Map<String, Object> additionalProperties - Any additional properties associated with the validated token.
- String realm - The realm of the validated token.