Method IsValidCode
- Namespace
- DisCatSharp.Extensions.TwoFactorCommands
- Assembly
- DisCatSharp.Extensions.TwoFactorCommands.dll
IsValidCode(ulong, string)
Checks whether the two factor auth code is valid for given user id.
public bool IsValidCode(ulong user, string code)
Parameters
Returns
- bool
Whether the code is valid.