Click or drag to resize

DuoWebVerifyResponse Method

Validate the signed response returned from Duo. Returns the username of the authenticated user, or null.

Namespace:  FileHold.UserRoleManager.Code
Assembly:  FileHold.UserRoleManager (in FileHold.UserRoleManager.dll) Version: 17.0.0.0
Syntax
C#
public static string VerifyResponse(
	string ikey,
	string skey,
	string akey,
	string sig_response,
	DateTime? current_time = null
)

Parameters

ikey
Type: SystemString
Duo integration key
skey
Type: SystemString
Duo secret key
akey
Type: SystemString
Application secret key
sig_response
Type: SystemString
The signed response POST'ed to the server
current_time (Optional)
Type: SystemNullableDateTime
(optional) The current UTC time

Return Value

Type: String
authenticated username, or null
See Also