Click or drag to resize

AdoIdentityProviderReAuthenticate Method

Recheck the authentication of an already authenticated principal.

Namespace: SanteDB.Persistence.Data.Services
Assembly: SanteDB.Persistence.Data (in SanteDB.Persistence.Data.dll) Version: 3.0.2081-alpha+be3dca7062b437ed047a057127f85f12119224b9
Syntax
public IPrincipal ReAuthenticate(
	IPrincipal principal
)

Parameters

principal  IPrincipal
The principal which is to be re-authenticated

Return Value

IPrincipal
The newly authenticated principal

Implements

IIdentityProviderServiceReAuthenticate(IPrincipal)
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