Click or drag to resize

IApplicationIdentityProviderService Interface

Represents a service which retrieves IApplicationIdentity and can authenticate to an IPrincipal for applications.

Namespace:  SanteDB.Core.Security.Services
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 2.2.1
Syntax
public interface IApplicationIdentityProviderService : IServiceImplementation

The IApplicationIdentityProviderService type exposes the following members.

Properties
  NameDescription
Public propertyServiceName
Gets the service name
(Inherited from IServiceImplementation.)
Top
Methods
  NameDescription
Public methodAuthenticate
Authenticate the application identity.
Public methodChangeSecret
Change the specified application identity's secret
Public methodGetIdentity
Gets the specified identity for an application.
Public methodGetSecureKey
Get the secure key for the specified application (can be used for symmetric encryption)
Public methodSetLockout
Set the lockout status
Top
Events
  NameDescription
Public eventAuthenticated
Fired after an authentication request has been made.
Public eventAuthenticating
Fired prior to an authentication request being made.
Top
Remarks

In SanteDB, a security session is comprised of up to three security identities/principals:

  • (Optional) User identity representing the human using the application
  • (Optional) Device identity representing the device running the application, and
  • An IApplicationIdentity representing the application

This service is what is used to authenticate the application identity from a central credential store of registered applications.

See: SanteDB authentication architecture

See Also