Interface IIdentityAsserter
IdentityAsserter validates a token in order to establish a user's identity. The token is an identity assertion, a statement that asserts an identity.
Namespace: Tangosol.Net.Security
Assembly: Coherence.dll
Syntax
public interface IIdentityAsserter
Remarks
A token is opaque to Coherence. It could be a standard type such as a SAML Assertion or a proprietary type.
Methods
AssertIdentity(object, IService)
Asserts an identity based on a token-based identity assertion.
Declaration
IPrincipal AssertIdentity(object oToken, IService service)
Parameters
Type | Name | Description |
---|---|---|
object | oToken | The actual token that asserts identity. |
IService | service | The IService asserting the identity token. |
Returns
Type | Description |
---|---|
IPrincipal | An IPrincipal representing the identity. |
Exceptions
Type | Condition |
---|---|
SecurityException | If the identity assertion fails. |