TokenValidatorIsPasscodeValid Method |
Check if entered passcode is correct.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 8.2.23
Syntax 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:
BooleanReturns true if passcode is valid.
See Also