chore: generate docs

This commit is contained in:
Torsten Dittmann committed 2024-03-04 11:06:47 +01:00
1 parent a05b8c015e
commit 907c9201f9
79 files changed
+122 -122

No files matched your search

@@ -1,5 +1,5 @@
from appwrite.client import Client
from appwrite.enums import
from appwrite.enums import AuthenticatorType
client = Client()
client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
@@ -9,5 +9,5 @@ client.set_session('') # The user session to authenticate with
account = Account(client)
result = account.create_mfa_authenticator(
type = .TOTP
type = AuthenticatorType.TOTP
)
@@ -1,5 +1,5 @@
from appwrite.client import Client
from appwrite.enums import
from appwrite.enums import AuthenticationFactor
client = Client()
client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
@@ -8,5 +8,5 @@ client.set_project('5df5acd0d48c2') # Your project ID
account = Account(client)
result = account.create_mfa_challenge(
factor = .EMAIL
factor = AuthenticationFactor.EMAIL
)
@@ -1,5 +1,5 @@
from appwrite.client import Client
from appwrite.enums import
from appwrite.enums import AuthenticatorType
client = Client()
client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
@@ -9,6 +9,6 @@ client.set_session('') # The user session to authenticate with
account = Account(client)
result = account.delete_mfa_authenticator(
type = .TOTP,
type = AuthenticatorType.TOTP,
otp = '<OTP>'
)
@@ -1,5 +1,5 @@
from appwrite.client import Client
from appwrite.enums import
from appwrite.enums import AuthenticatorType
client = Client()
client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
@@ -9,6 +9,6 @@ client.set_session('') # The user session to authenticate with
account = Account(client)
result = account.update_mfa_authenticator(
type = .TOTP,
type = AuthenticatorType.TOTP,
otp = '<OTP>'
)
@@ -1,5 +1,5 @@
from appwrite.client import Client
from appwrite.enums import
from appwrite.enums import AuthenticatorType
client = Client()
client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint
@@ -10,5 +10,5 @@ users = Users(client)
result = users.delete_mfa_authenticator(
user_id = '<USER_ID>',
type = .TOTP
type = AuthenticatorType.TOTP
)