C# Class IdentityServer.Services.TwoFactorTokenService

Mostrar archivo Open project: GeertHuls/SecuredApi Class Usage Examples

Public Methods

Method Description
GenerateTwoFactorCodeFor ( string subject ) : void
HasVerifiedTwoFactorCode ( string subject ) : bool
VerifyTwoFactorCodeFor ( string subject, string code ) : bool

Method Details

GenerateTwoFactorCodeFor() public method

public GenerateTwoFactorCodeFor ( string subject ) : void
subject string
return void

HasVerifiedTwoFactorCode() public method

public HasVerifiedTwoFactorCode ( string subject ) : bool
subject string
return bool

VerifyTwoFactorCodeFor() public method

public VerifyTwoFactorCodeFor ( string subject, string code ) : bool
subject string
code string
return bool