Interface ISoSecurityTokenValidator
Interface for plugin capable validating the authentication process
Namespace: SuperOffice.Security
Assembly: SuperOffice.Plugins.dll
Syntax
public interface ISoSecurityTokenValidator
Methods
TryValidateTokens(IEnumerable<ClaimsIdentity>, out string)
Validate the tokens before they are resolved. The Authentication process fails if one of the validators return Rejected.
Declaration
TokenValidationResult TryValidateTokens(IEnumerable<ClaimsIdentity> identities, out string reason)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<ClaimsIdentity> | identities | |
| string | reason | The reason for the result. This value should always be set to something meaningfull if Rejected is returned. |
Returns
| Type | Description |
|---|---|
| TokenValidationResult | Result of validation. |