auth.provider API
Preparing search index...
@o3co/auth-provider-core
MfaProvider
Interface MfaProvider
Adapter primitive for MFA challenge providers.
interface
MfaProvider
{
kind
:
string
;
issue
(
userId
:
string
,
ctx
:
MfaIssueContext
)
:
Promise
<
MfaChallenge
|
null
>
;
verify
(
challengeId
:
string
,
proof
:
unknown
)
:
Promise
<
MfaVerifyResult
>
;
}
Index
Properties
kind
Methods
issue
verify
Properties
Readonly
kind
kind
:
string
Methods
issue
issue
(
userId
:
string
,
ctx
:
MfaIssueContext
)
:
Promise
<
MfaChallenge
|
null
>
Parameters
userId
:
string
ctx
:
MfaIssueContext
Returns
Promise
<
MfaChallenge
|
null
>
verify
verify
(
challengeId
:
string
,
proof
:
unknown
)
:
Promise
<
MfaVerifyResult
>
Parameters
challengeId
:
string
proof
:
unknown
Returns
Promise
<
MfaVerifyResult
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
kind
Methods
issue
verify
auth.provider API
Loading...
Adapter primitive for MFA challenge providers.