public interface IdentityValidator<T>
| Modifier and Type | Method and Description |
|---|---|
T |
validateIdentityToken(Session session,
UserIdentityToken token,
UserTokenPolicy tokenPolicy,
SignatureData tokenSignature)
Validate the provided
UserIdentityToken and return an identity Object that represents the user. |
T validateIdentityToken(Session session, UserIdentityToken token, UserTokenPolicy tokenPolicy, SignatureData tokenSignature) throws UaException
UserIdentityToken and return an identity Object that represents the user.
This Object should implement equality in such a way that a subsequent identity validation for the same user yields a comparable Object.
session - the Session the request is arriving on.token - the UserIdentityToken.tokenPolicy - the UserTokenPolicy specified by the policyId in token.tokenSignature - the SignatureData sent in the ActivateSessionRequestT that represents the authenticated user.UaException - if the token is invalid, rejected, or user access is denied.Copyright © 2021. All rights reserved.