Class: TotpFlow
Class: TotpFlow
Defined in: auth-client/src/core/flows/totp.flow.ts:31
Constructors
Constructor
new TotpFlow(
deps):TotpFlow
Defined in: auth-client/src/core/flows/totp.flow.ts:32
Parameters
deps
Returns
TotpFlow
Methods
disable()
disable(
req):Promise<void>
Defined in: auth-client/src/core/flows/totp.flow.ts:59
Parameters
req
Returns
Promise<void>
enable()
enable(
code):Promise<void>
Defined in: auth-client/src/core/flows/totp.flow.ts:50
Parameters
code
string
Returns
Promise<void>
setup()
setup():
Promise<{provisioningUri:string;secret:string; }>
Defined in: auth-client/src/core/flows/totp.flow.ts:34
Returns
Promise<{ provisioningUri: string; secret: string; }>