Click or drag to resize

IIdentityProviderServiceReAuthenticate Method

Recheck the authentication of an already authenticated principal.

Namespace:  SanteDB.Core.Security.Services
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax
IPrincipal ReAuthenticate(
	IPrincipal principal
)

Parameters

principal
Type: System.Security.PrincipalIPrincipal
The principal which is to be re-authenticated

Return Value

Type: IPrincipal
The newly authenticated principal
Remarks
This method is used when the caller needs to re-verify the the principal with the underlying identity provider (such as extending a session, performing an elevation check, or changing principal types, etc.). Implementers should send the principal to whatever the backing identity provider is, and then return a new IPrincipal which is authenticated.
See Also