Click or drag to resize

SQLiteIdentityService Class

Local identity service.
Inheritance Hierarchy
SystemObject
  SanteDB.DisconnectedClient.SQLite.SecuritySQLiteIdentityService

Namespace:  SanteDB.DisconnectedClient.SQLite.Security
Assembly:  SanteDB.DisconnectedClient.SQLite (in SanteDB.DisconnectedClient.SQLite.dll) Version: 2.2.1
Syntax
public class SQLiteIdentityService : IOfflineIdentityProviderService, 
	IIdentityProviderService, IServiceImplementation, IPinAuthenticationService

The SQLiteIdentityService type exposes the following members.

Constructors
  NameDescription
Public methodSQLiteIdentityService
Initializes a new instance of the SQLiteIdentityService class
Top
Properties
  NameDescription
Public propertyServiceName
Get the service name
Top
Methods
  NameDescription
Public methodAddClaim
Public methodAuthenticate(String, Byte)
Authenticates a user with a local device PIN
Public methodAuthenticate(String, String)
Authenticates a user with usernae and password
Public methodAuthenticate(String, String, String)
Authenticate the user using a TwoFactorAuthentication secret
Public methodChangePassword
Change the user's password
Public methodChangePin
Change the PIN for the user
Public methodCreateIdentity(Guid, String, String)
Create specified identity
Public methodCreateIdentity(SecurityUser, String, IPrincipal)
Creates the identity.
Public methodCreateIdentity(String, String, IPrincipal)
Create specified identity
Public methodCreateIdentity(Guid, String, String, IPrincipal)
Creates an identity for the user
Public methodDeleteIdentity
Deletes an identity
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGenerateTfaSecret
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetIdentity(Guid)
Get identity by UUID
Public methodGetIdentity(String)
Gets an un-authenticated identity
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsLocalUser(Guid)
Determine if the user is a local user (not a central user)
Public methodIsLocalUser(String)
Determine if the user is a local user
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReAuthenticate
Re-authenticate
Public methodRemoveClaim
Public methodSetLockout
Set the lockout
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventAuthenticated
Occurs when authenticated.
Public eventAuthenticating
Fired on authenticating
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