Skip to content

Commit

Permalink
fix: adding code request type and api type to common
Browse files Browse the repository at this point in the history
  • Loading branch information
aversini committed Jun 27, 2024
1 parent 9252f2d commit 1915952
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/auth-common/src/components/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ export const AUTH_TYPES = {
ID_TOKEN: "id_token",
ACCESS_TOKEN: "token",
ID_AND_ACCESS_TOKEN: "id_token token",
CODE: "code",
};

export const HEADERS = {
Expand Down Expand Up @@ -30,3 +31,9 @@ export const TOKEN_EXPIRATION = {
ACCESS: "5m",
ID: "90d",
};

export const API_TYPE = {
AUTHENTICATE: "authenticate",
CODE: "code",
LOGOUT: "logout",
};

0 comments on commit 1915952

Please sign in to comment.