Skip to content

Commit 2dff52b

Browse files
committed
add jsdoc description for secondsUntilExpiration
1 parent 8807419 commit 2dff52b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/backend/src/api/endpoints/M2MTokenApi.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ type CreateM2MTokenParams = {
1010
* Custom machine secret key for authentication.
1111
*/
1212
machineSecretKey?: string;
13+
/**
14+
* Number of seconds until the token expires.
15+
*
16+
* @default null - Token does not expire
17+
*/
1318
secondsUntilExpiration?: number | null;
1419
claims?: Record<string, unknown> | null;
1520
};

0 commit comments

Comments
 (0)