Skip to content

Commit

Permalink
Update key docs (#999)
Browse files Browse the repository at this point in the history
  • Loading branch information
pilcrowonpaper authored Aug 20, 2023
1 parent 4c03b0d commit 9cb3bf8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .auri/$q4pb9pqd.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ package: "@lucia-auth/oauth" # package name
type: "minor" # "major", "minor", "patch"
---

- `decodeIdToken()` throws `SyntaxError`
`decodeIdToken()` throws `SyntaxError`
- Remove `IdTokenError`
8 changes: 7 additions & 1 deletion documentation/content/reference/lucia/interfaces/auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ const updateKeyPassword: (
providerId: string,
providerUserId: string,
password: string | null
) => Promise<void>;
) => Promise<Key>;
```

##### Parameters
Expand All @@ -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 |
Expand Down

0 comments on commit 9cb3bf8

Please sign in to comment.