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:
parent
58885b31cb
commit
2908c816e7
1 changed files with 3 additions and 0 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Reference in a new issue