0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-20 21:32:31 -05:00

feat(schemas): remove API path JWT token type enum to keep things simple

This commit is contained in:
Darcy Ye 2024-03-05 20:11:14 +08:00
parent 1fd9f8ec50
commit ada9c4dc89
No known key found for this signature in database
GPG key ID: B46F4C07EDEFC610

View file

@ -51,14 +51,6 @@ export const logtoOidcConfigGuard: Readonly<{
[LogtoOidcConfigKey.CookieKeys]: oidcConfigKeyGuard.array(),
});
/**
* Logto JWT customizer token types, used in REST API routes.
*/
export enum LogtoJwtTokenKeyType {
AccessToken = 'access-token',
ClientCredentials = 'client-credentials',
}
export enum LogtoJwtTokenKey {
AccessToken = 'jwt.accessToken',
ClientCredentials = 'jwt.clientCredentials',