Method UnenrollTwoFactorAsync
- Assembly
- DisCatSharp.Extensions.TwoFactorCommands.dll
UnenrollTwoFactorAsync(BaseContext)
Unenrolls the user from two factor authentication via modal verification.
This uses DisCatSharp.Interactivity.
To be used as first action for application commands.
public static Task<TwoFactorResponse> UnenrollTwoFactorAsync(this BaseContext ctx)
Parameters
ctxBaseContextThe base context.