blob: c3fcfc8ec84b344dd8655e691af8819072c8b004 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
from ..types import (
AuthMFAAdminDeleteFactorParams,
AuthMFAAdminDeleteFactorResponse,
AuthMFAAdminListFactorsParams,
AuthMFAAdminListFactorsResponse,
)
class SyncGoTrueAdminMFAAPI:
"""
Contains the full multi-factor authentication administration API.
"""
def list_factors(
self,
params: AuthMFAAdminListFactorsParams,
) -> AuthMFAAdminListFactorsResponse:
"""
Lists all factors attached to a user.
"""
raise NotImplementedError() # pragma: no cover
def delete_factor(
self,
params: AuthMFAAdminDeleteFactorParams,
) -> AuthMFAAdminDeleteFactorResponse:
"""
Deletes a factor on a user. This will log the user out of all active
sessions (if the deleted factor was verified). There's no need to delete
unverified factors.
"""
raise NotImplementedError() # pragma: no cover
|