We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8807419 commit 2dff52bCopy full SHA for 2dff52b
packages/backend/src/api/endpoints/M2MTokenApi.ts
@@ -10,6 +10,11 @@ type CreateM2MTokenParams = {
10
* Custom machine secret key for authentication.
11
*/
12
machineSecretKey?: string;
13
+ /**
14
+ * Number of seconds until the token expires.
15
+ *
16
+ * @default null - Token does not expire
17
+ */
18
secondsUntilExpiration?: number | null;
19
claims?: Record<string, unknown> | null;
20
};
0 commit comments