0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-27 21:39:16 -05:00

chore(schemas): export custom JWT API request body type (#5510)

chore(schemas): export custom jwt API request body type
This commit is contained in:
Darcy Ye 2024-03-15 18:24:21 +08:00 committed by GitHub
parent 58885b31cb
commit 2908c816e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -54,6 +54,9 @@ export const customJwtFetcherGuard = jwtCustomizerGuard
token: jsonObjectGuard,
context: jsonObjectGuard.optional(),
});
export type CustomJwtFetcher = z.infer<typeof customJwtFetcherGuard>;
export enum LogtoJwtTokenPath {
AccessToken = 'access-token',
ClientCredentials = 'client-credentials',