Skip to content

Commit

Permalink
feat(schemas): remove API path JWT token type enum to keep things simple
Browse files Browse the repository at this point in the history
  • Loading branch information
darcyYe committed Mar 5, 2024
1 parent 1fd9f8e commit ada9c4d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/schemas/src/types/logto-config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit ada9c4d

Please sign in to comment.