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: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
public sealed class AuthenticationContext

The AuthenticationContext type exposes the following members.

Properties
 NameDescription
Public propertyStatic memberAnonymousPrincipal Gets the anonymous principal
Public propertyStatic memberCurrent Gets or sets the current context
Public propertyParent Get the parent context
Public propertyPrincipal Gets the principal
Public propertyStatic memberSystemPrincipal Get the system principal
Top
Methods
 NameDescription
Public methodAbandon Abandon the current authentication context
Public methodStatic memberEnterContext Enter a wrapped context
Public methodStatic memberEnterSystemContext Enter the system context
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetAuthenticatedPrincipal Get the principal that was explicitly authenticated on this context (excluding SYSTEM or ANONYMOUS)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns 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 MethodGetApplicationIdentity Get the application identity from the authentication context
(Defined by ExtensionMethods)
Public Extension MethodGetDeviceIdentity Get the device identity from the authentication context
(Defined by ExtensionMethods)
Public Extension MethodGetUserIdentity Get the user identity
(Defined by ExtensionMethods)
Public Extension MethodWithControl With control parameter is used as a wrapper for _ parameters
(Defined by QueryFilterExtensions)
Top
See Also