Show / Hide Table of Contents

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.

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top