Show / Hide Table of Contents

Class NSIdentityClaimValues

Helper class for building NetServers' s ClaimsIdentity

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

Constructors

NSIdentityClaimValues()

Helper class for building NetServers' s ClaimsIdentity

Declaration
public NSIdentityClaimValues()

NSIdentityClaimValues(ClaimsIdentity)

Helper class for building NetServers' s ClaimsIdentity

Declaration
public NSIdentityClaimValues(ClaimsIdentity source)
Parameters
Type Name Description
ClaimsIdentity source

Properties

Associate

Associate.Name

Declaration
public string Associate { get; set; }
Property Value
Type Description
string

AssociateId

Associate.Id

Declaration
public int AssociateId { get; set; }
Property Value
Type Description
int

ContextIdentifier

Context Identifier.

Declaration
public string ContextIdentifier { get; set; }
Property Value
Type Description
string

UserName

Claim type for Assoiate.UserName

Declaration
public string UserName { get; set; }
Property Value
Type Description
string

UserType

Claim type for the users SuperOffice.License.UserType

Declaration
public UserType UserType { get; set; }
Property Value
Type Description
UserType

Methods

GetClaimsIdentity(string)

Helper class for building NetServers' s ClaimsIdentity

Declaration
public ClaimsIdentity GetClaimsIdentity(string authenticationType = null)
Parameters
Type Name Description
string authenticationType
Returns
Type Description
ClaimsIdentity

GetClaimsIdentity(string, params Claim[])

Helper class for building NetServers' s ClaimsIdentity

Declaration
public ClaimsIdentity GetClaimsIdentity(string authenticationType, params Claim[] additionalClaims)
Parameters
Type Name Description
string authenticationType
Claim[] additionalClaims
Returns
Type Description
ClaimsIdentity

Extension Methods

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