C# Class IdentityServer.Services.TwoFactorTokenService

Afficher le fichier Open project: GeertHuls/SecuredApi Class Usage Examples

Méthodes publiques

Méthode Description
GenerateTwoFactorCodeFor ( string subject ) : void
HasVerifiedTwoFactorCode ( string subject ) : bool
VerifyTwoFactorCodeFor ( string subject, string code ) : bool

Method Details

GenerateTwoFactorCodeFor() public méthode

public GenerateTwoFactorCodeFor ( string subject ) : void
subject string
Résultat void

HasVerifiedTwoFactorCode() public méthode

public HasVerifiedTwoFactorCode ( string subject ) : bool
subject string
Résultat bool

VerifyTwoFactorCodeFor() public méthode

public VerifyTwoFactorCodeFor ( string subject, string code ) : bool
subject string
code string
Résultat bool