Show / Hide Table of Contents

Class ClaimsIdentityHelper

Inheritance
object
ClaimsIdentityHelper
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.Security.Claims
Assembly: SoCore.dll
Syntax
public static class ClaimsIdentityHelper

Fields

SupportedTokens

Declaration
public static readonly SoTokenType[] SupportedTokens
Field Value
Type Description
SoTokenType[]

Methods

CanCreateIdentityFromToken(string)

Declaration
public static bool CanCreateIdentityFromToken(string token)
Parameters
Type Name Description
string token
Returns
Type Description
bool

CreatePasswordIdentity(string, string)

Declaration
public static ClaimsIdentity CreatePasswordIdentity(string userName, string password)
Parameters
Type Name Description
string userName
string password
Returns
Type Description
ClaimsIdentity

CreateTokenIdentity(string)

Declaration
public static ClaimsIdentity CreateTokenIdentity(string token)
Parameters
Type Name Description
string token
Returns
Type Description
ClaimsIdentity

DetectTokenType(string)

Declaration
public static SoTokenType DetectTokenType(string token)
Parameters
Type Name Description
string token
Returns
Type Description
SoTokenType
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top