diff --git a/packages/auth-common/src/components/constants.ts b/packages/auth-common/src/components/constants.ts index 92bfcd1..d6cfc72 100644 --- a/packages/auth-common/src/components/constants.ts +++ b/packages/auth-common/src/components/constants.ts @@ -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 = { @@ -30,3 +31,9 @@ export const TOKEN_EXPIRATION = { ACCESS: "5m", ID: "90d", }; + +export const API_TYPE = { + AUTHENTICATE: "authenticate", + CODE: "code", + LOGOUT: "logout", +};