insomnia/packages/insomnia-app/app/network/o-auth-2/constants.js
Gregory Schier 549ce23ce8
Merge All Repositories into Monorepo for easier maintenance (#629)
* All projects into monorepo

* Update CI

* More CI updates

* Extracted a bunch of things into packages

* Publish

 - insomnia-plugin-base64@1.0.1
 - insomnia-plugin-default-headers@1.0.2
 - insomnia-plugin-file@1.0.1
 - insomnia-plugin-hash@1.0.1
 - insomnia-plugin-now@1.0.1
 - insomnia-plugin-request@1.0.1
 - insomnia-plugin-response@1.0.1
 - insomnia-plugin-uuid@1.0.1
 - insomnia-cookies@0.0.2
 - insomnia-importers@1.5.2
 - insomnia-prettify@0.0.3
 - insomnia-url@0.0.2
 - insomnia-xpath@0.0.2

* A bunch of small fixes

* Improved build script

* Fixed

* Merge dangling files

* Usability refactor

* Handle duplicate plugin names
2017-11-26 20:45:40 +00:00

27 lines
1.0 KiB
JavaScript

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';
export const GRANT_TYPE_REFRESH = 'refresh_token';
export const RESPONSE_TYPE_CODE = 'code';
export const RESPONSE_TYPE_TOKEN = 'token';
export const P_ACCESS_TOKEN = 'access_token';
export const P_CLIENT_ID = 'client_id';
export const P_CLIENT_SECRET = 'client_secret';
export const P_CODE = 'code';
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';