Skip to content

Commit b30a77e

Browse files
committed
Update types.ts
1 parent ab3bb94 commit b30a77e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/server/auth/types.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@ export interface AuthInfo {
2323
expiresAt?: number;
2424

2525
/**
26-
* Additional custom claims associated with the token.
26+
* Additional data associated with the token.
2727
* This field should be used for any additional data that needs to be attached to the auth info.
28-
* Using this field instead of arbitrary keys ensures compatibility with future interface changes.
29-
*/
30-
customClaims?: Record<string, unknown>;
28+
*/
29+
extra?: Record<string, unknown>;
3130
}

0 commit comments

Comments
 (0)