You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: package.json
+5-1
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
"name": "node-appwrite",
3
3
"homepage": "https://appwrite.io/support",
4
4
"description": "Appwrite is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API",
Copy file name to clipboardExpand all lines: src/services/account.ts
+4-4
Original file line number
Diff line number
Diff line change
@@ -266,7 +266,7 @@ This endpoint can also be used to convert an anonymous account to a normal one,
266
266
/**
267
267
* Add Authenticator
268
268
*
269
-
* Add an authenticator app to be used as an MFA factor. Verify the authenticator using the [verify authenticator](/docs/references/cloud/client-web/account#verifyAuthenticator) method.
269
+
* Add an authenticator app to be used as an MFA factor. Verify the authenticator using the [verify authenticator](/docs/references/cloud/client-web/account#updateMfaAuthenticator) method.
270
270
*
271
271
* @param {AuthenticatorType} type
272
272
* @throws {AppwriteException}
@@ -294,7 +294,7 @@ This endpoint can also be used to convert an anonymous account to a normal one,
294
294
/**
295
295
* Verify Authenticator
296
296
*
297
-
* Verify an authenticator app after adding it using the [add authenticator](/docs/references/cloud/client-web/account#addAuthenticator) method.
297
+
* Verify an authenticator app after adding it using the [add authenticator](/docs/references/cloud/client-web/account#createMfaAuthenticator) method. add
298
298
*
299
299
* @param {AuthenticatorType} type
300
300
* @param {string} otp
@@ -334,9 +334,9 @@ This endpoint can also be used to convert an anonymous account to a normal one,
Copy file name to clipboardExpand all lines: src/services/users.ts
+2-1
Original file line number
Diff line number
Diff line change
@@ -1441,7 +1441,8 @@ If you want to generate a token for a custom authentication flow, use the [POST
1441
1441
/**
1442
1442
* Create token
1443
1443
*
1444
-
* Returns a token with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [PUT /account/sessions/custom](https://appwrite.io/docs/references/cloud/client-web/account#updateCustomSession) endpoint to complete the login process.
1444
+
* Returns a token with a secret key for creating a session. Use the user ID and secret and submit a request to the [PUT /account/sessions/token](https://appwrite.io/docs/references/cloud/client-web/account#createSession) endpoint to complete the login process.
0 commit comments