2017-03-23 22:10:42 +00:00
|
|
|
export const GRANT_TYPE_AUTHORIZATION_CODE = 'authorization_code';
|
|
|
|
export const GRANT_TYPE_IMPLICIT = 'implicit';
|
|
|
|
export const GRANT_TYPE_PASSWORD = 'password';
|
|
|
|
export const GRANT_TYPE_CLIENT_CREDENTIALS = 'client_credentials';
|
2017-04-20 01:37:40 +00:00
|
|
|
export const GRANT_TYPE_REFRESH = 'refresh_token';
|
2017-03-23 22:10:42 +00:00
|
|
|
export const RESPONSE_TYPE_CODE = 'code';
|
2018-01-17 05:18:10 +00:00
|
|
|
export const RESPONSE_TYPE_ID_TOKEN = 'id_token';
|
|
|
|
export const RESPONSE_TYPE_TOKEN = 'token';
|
|
|
|
export const RESPONSE_TYPE_ID_TOKEN_TOKEN = 'id_token token';
|
2017-03-23 22:10:42 +00:00
|
|
|
export const P_ACCESS_TOKEN = 'access_token';
|
2019-04-18 01:14:40 +00:00
|
|
|
export const P_ID_TOKEN = 'id_token';
|
2017-03-23 22:10:42 +00:00
|
|
|
export const P_CLIENT_ID = 'client_id';
|
|
|
|
export const P_CLIENT_SECRET = 'client_secret';
|
2017-12-25 18:22:49 +00:00
|
|
|
export const P_AUDIENCE = 'audience';
|
2018-09-26 23:03:40 +00:00
|
|
|
export const P_RESOURCE = 'resource';
|
2020-10-20 07:58:16 +00:00
|
|
|
export const P_CODE_CHALLENGE = 'code_challenge';
|
|
|
|
export const P_CODE_CHALLENGE_METHOD = 'code_challenge_method';
|
|
|
|
export const P_CODE_VERIFIER = 'code_verifier';
|
2017-03-23 22:10:42 +00:00
|
|
|
export const P_CODE = 'code';
|
2018-01-16 06:08:46 +00:00
|
|
|
export const P_NONCE = 'nonce';
|
2017-03-23 22:10:42 +00:00
|
|
|
export const P_ERROR = 'error';
|
|
|
|
export const P_ERROR_DESCRIPTION = 'error_description';
|
|
|
|
export const P_ERROR_URI = 'error_uri';
|
|
|
|
export const P_EXPIRES_IN = 'expires_in';
|
|
|
|
export const P_GRANT_TYPE = 'grant_type';
|
|
|
|
export const P_PASSWORD = 'password';
|
|
|
|
export const P_REDIRECT_URI = 'redirect_uri';
|
|
|
|
export const P_REFRESH_TOKEN = 'refresh_token';
|
|
|
|
export const P_RESPONSE_TYPE = 'response_type';
|
|
|
|
export const P_SCOPE = 'scope';
|
|
|
|
export const P_STATE = 'state';
|
|
|
|
export const P_TOKEN_TYPE = 'token_type';
|
|
|
|
export const P_USERNAME = 'username';
|
2018-07-01 20:18:18 +00:00
|
|
|
export const X_RESPONSE_ID = 'xResponseId';
|
|
|
|
export const X_ERROR = 'xError';
|
2021-07-29 04:31:02 +00:00
|
|
|
export const PKCE_CHALLENGE_S256 = 'S256';
|
|
|
|
export const PKCE_CHALLENGE_PLAIN = 'plain';
|