Click or drag to resize

AuthenticationContext Class

Authentication context
Inheritance Hierarchy
SystemObject
  SanteDB.Core.SecurityAuthenticationContext

Namespace:  SanteDB.Core.Security
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 2.2.1
Syntax
public sealed class AuthenticationContext

The AuthenticationContext type exposes the following members.

Constructors
  NameDescription
Public methodAuthenticationContext
Creates a new instance of the authentication context
Top
Properties
  NameDescription
Public propertyStatic memberAnonymousPrincipal
Gets the anonymous principal
Public propertyStatic memberCurrent
Gets or sets the current context
Public propertyPrincipal
Gets the principal
Public propertyStatic memberSystemPrincipal
Get the system principal
Top
Methods
  NameDescription
Public methodStatic memberEnterContext
Enter a wrapped context
Public methodStatic memberEnterSystemContext
Enter the system context
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberAnonymousUserSid
ANONYMOUS user's SID
Public fieldStatic memberSystemApplicationSid
SYSTEM application's SID
Public fieldStatic memberSystemUserSid
SYSTEM user's SID
Top
Extension Methods
  NameDescription
Public Extension MethodConvertTReturn
The purpose of this method is to convert object me to TReturn. Why? Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast so we have to copy.
(Defined by ExtensionMethods.)
Public Extension MethodGetInstanceOfTDomain
Gets an instance of TDomain from me
(Defined by ModelExtensions.)
Top
See Also