Show / Hide Table of Contents

Class SoCredentialsIdentity

This identity is constructed from a NetServer session ticket, resulting from a previous, successful authentication.

Inheritance
Object
SoCredentialsIdentity
Implements
ISoIdentity
IIdentity
Namespace: SuperOffice.Security.Principal
Assembly: SoDataBase.dll
Syntax
public class SoCredentialsIdentity : Object, ISoIdentity, IIdentity
Remarks

The ticket has a counterpart (ticket stub) in the database, consisting of a GUID as searchName and an SHA1 hash of a random value as secret. The original GUID and random value are in the ticket. You can reconstruct the database items from the ticket but not vice versa.

A ticket can be obtained from specific calls, such as SoPrincipalService.GetSafeCredentials. This would also create the stub. Stubs are garbage collected when out of date.

Properties

Associate

This identity is constructed from a NetServer session ticket, resulting from a previous, successful authentication.

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

The ticket has a counterpart (ticket stub) in the database, consisting of a GUID as searchName and an SHA1 hash of a random value as secret. The original GUID and random value are in the ticket. You can reconstruct the database items from the ticket but not vice versa.

A ticket can be obtained from specific calls, such as SoPrincipalService.GetSafeCredentials. This would also create the stub. Stubs are garbage collected when out of date.

AssociateId

This identity is constructed from a NetServer session ticket, resulting from a previous, successful authentication.

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

The ticket has a counterpart (ticket stub) in the database, consisting of a GUID as searchName and an SHA1 hash of a random value as secret. The original GUID and random value are in the ticket. You can reconstruct the database items from the ticket but not vice versa.

A ticket can be obtained from specific calls, such as SoPrincipalService.GetSafeCredentials. This would also create the stub. Stubs are garbage collected when out of date.

AuthenticationType

This identity is constructed from a NetServer session ticket, resulting from a previous, successful authentication.

Declaration
public string AuthenticationType { get; }
Property Value
Type Description
String
Remarks

The ticket has a counterpart (ticket stub) in the database, consisting of a GUID as searchName and an SHA1 hash of a random value as secret. The original GUID and random value are in the ticket. You can reconstruct the database items from the ticket but not vice versa.

A ticket can be obtained from specific calls, such as SoPrincipalService.GetSafeCredentials. This would also create the stub. Stubs are garbage collected when out of date.

Credentials

Return ticket-as-string

Declaration
public string Credentials { get; }
Property Value
Type Description
String
Remarks

The ticket has a counterpart (ticket stub) in the database, consisting of a GUID as searchName and an SHA1 hash of a random value as secret. The original GUID and random value are in the ticket. You can reconstruct the database items from the ticket but not vice versa.

A ticket can be obtained from specific calls, such as SoPrincipalService.GetSafeCredentials. This would also create the stub. Stubs are garbage collected when out of date.

InnerIdentity

This identity is constructed from a NetServer session ticket, resulting from a previous, successful authentication.

Declaration
public IIdentity InnerIdentity { get; }
Property Value
Type Description
IIdentity
Remarks

The ticket has a counterpart (ticket stub) in the database, consisting of a GUID as searchName and an SHA1 hash of a random value as secret. The original GUID and random value are in the ticket. You can reconstruct the database items from the ticket but not vice versa.

A ticket can be obtained from specific calls, such as SoPrincipalService.GetSafeCredentials. This would also create the stub. Stubs are garbage collected when out of date.

IsAuthenticated

This identity is constructed from a NetServer session ticket, resulting from a previous, successful authentication.

Declaration
public bool IsAuthenticated { get; }
Property Value
Type Description
Boolean
Remarks

The ticket has a counterpart (ticket stub) in the database, consisting of a GUID as searchName and an SHA1 hash of a random value as secret. The original GUID and random value are in the ticket. You can reconstruct the database items from the ticket but not vice versa.

A ticket can be obtained from specific calls, such as SoPrincipalService.GetSafeCredentials. This would also create the stub. Stubs are garbage collected when out of date.

Name

This identity is constructed from a NetServer session ticket, resulting from a previous, successful authentication.

Declaration
public string Name { get; }
Property Value
Type Description
String
Remarks

The ticket has a counterpart (ticket stub) in the database, consisting of a GUID as searchName and an SHA1 hash of a random value as secret. The original GUID and random value are in the ticket. You can reconstruct the database items from the ticket but not vice versa.

A ticket can be obtained from specific calls, such as SoPrincipalService.GetSafeCredentials. This would also create the stub. Stubs are garbage collected when out of date.

ProvidedCredentials

This identity is constructed from a NetServer session ticket, resulting from a previous, successful authentication.

Declaration
public ProvidedCredential[] ProvidedCredentials { get; }
Property Value
Type Description
ProvidedCredential[]
Remarks

The ticket has a counterpart (ticket stub) in the database, consisting of a GUID as searchName and an SHA1 hash of a random value as secret. The original GUID and random value are in the ticket. You can reconstruct the database items from the ticket but not vice versa.

A ticket can be obtained from specific calls, such as SoPrincipalService.GetSafeCredentials. This would also create the stub. Stubs are garbage collected when out of date.

SoAuthenticationType

This identity is constructed from a NetServer session ticket, resulting from a previous, successful authentication.

Declaration
public SoAuthenticationType SoAuthenticationType { get; }
Property Value
Type Description
SoAuthenticationType
Remarks

The ticket has a counterpart (ticket stub) in the database, consisting of a GUID as searchName and an SHA1 hash of a random value as secret. The original GUID and random value are in the ticket. You can reconstruct the database items from the ticket but not vice versa.

A ticket can be obtained from specific calls, such as SoPrincipalService.GetSafeCredentials. This would also create the stub. Stubs are garbage collected when out of date.

Implements

ISoIdentity
System.Security.Principal.IIdentity

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