Click or drag to resize
TokenValidatorIsPasscodeValid Method
Check if entered passcode is correct.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 9.0.0
Syntax
C#
public bool IsPasscodeValid(
	string userPasscode,
	string tokenID,
	string username,
	uint iteration
)

Parameters

userPasscode
Type: SystemString
Passcode entered by user.
tokenID
Type: SystemString
Unique identification for token generator.
username
Type: SystemString
Username for logging in.
iteration
Type: SystemUInt32
Number of iteration.

Return Value

Type: Boolean
Returns true if passcode is valid.
See Also