Class NSIdentityClaimValues
Helper class for building NetServers' s ClaimsIdentity
Inherited Members
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 |