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

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 8.2.23
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