Skip to content

Commit 23188ec

Browse files
committed
Add custom claims to authinfo
1 parent 85e6457 commit 23188ec

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/server/auth/types.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,9 @@ export interface AuthInfo {
2121
* When the token expires (in seconds since epoch).
2222
*/
2323
expiresAt?: number;
24+
25+
/**
26+
* Additional arbitrary properties that may be included.
27+
*/
28+
[key: string]: unknown;
2429
}

0 commit comments

Comments
 (0)