Click or drag to resize

IOAuthClientChallengeAuthenticateUser Method

Login for the purposes of changing a password only

Namespace: SanteDB.Client.Services
Assembly: SanteDB.Client (in SanteDB.Client.dll) Version: 3.0.2081-alpha+027e4605b77f83de5445cbcd55717223932d2452
Syntax
IClaimsPrincipal ChallengeAuthenticateUser(
	string userName,
	Guid challengeKey,
	string response,
	string clientId = null,
	string tfaSecret = null
)

Parameters

userName  String
The name of the user which is being reset
challengeKey  Guid
The key of the challenge which the user is responding to
response  String
The response to the challengeKey
clientId  String  (Optional)
The client_id of the application the user is using
tfaSecret  String  (Optional)
The TFA or MFA secret which was collected (if available)

Return Value

IClaimsPrincipal
The IClaimsPrincipal which was authenticated with the challenge key
See Also