From 9cb3bf8cd649713cf65c7807a29a2fb1b03b1a6f Mon Sep 17 00:00:00 2001 From: pilcrowOnPaper <80624252+pilcrowOnPaper@users.noreply.github.com> Date: Mon, 21 Aug 2023 02:39:35 +0900 Subject: [PATCH] Update key docs (#999) --- .auri/$q4pb9pqd.md | 2 +- documentation/content/reference/lucia/interfaces/auth.md | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.auri/$q4pb9pqd.md b/.auri/$q4pb9pqd.md index dfdf3e368..3198a30b7 100644 --- a/.auri/$q4pb9pqd.md +++ b/.auri/$q4pb9pqd.md @@ -3,5 +3,5 @@ package: "@lucia-auth/oauth" # package name type: "minor" # "major", "minor", "patch" --- -- `decodeIdToken()` throws `SyntaxError` +`decodeIdToken()` throws `SyntaxError` - Remove `IdTokenError` \ No newline at end of file diff --git a/documentation/content/reference/lucia/interfaces/auth.md b/documentation/content/reference/lucia/interfaces/auth.md index 727866165..e42380c25 100644 --- a/documentation/content/reference/lucia/interfaces/auth.md +++ b/documentation/content/reference/lucia/interfaces/auth.md @@ -687,7 +687,7 @@ const updateKeyPassword: ( providerId: string, providerUserId: string, password: string | null -) => Promise; +) => Promise; ``` ##### Parameters @@ -698,6 +698,12 @@ const updateKeyPassword: ( | `providerUserId` | `string` | The provider user id of the target key | | `password` | `string \| null` | A new password | +##### Returns + +| type | description | +| ---------------------------------------- | ----------- | +| [`Key`](/reference/lucia/interfaces#key) | updated key | + ##### Errors | name |