1// @needsAudit 2/** 3 * A hint about the type of the token submitted for revocation. If not included then the server should attempt to deduce the token type. 4 * 5 * @see [Section 2.1](https://tools.ietf.org/html/rfc7009#section-2.1) 6 */ 7export var TokenTypeHint; 8(function (TokenTypeHint) { 9 /** 10 * Access token. 11 * 12 * [Section 1.4](https://tools.ietf.org/html/rfc6749#section-1.4) 13 */ 14 TokenTypeHint["AccessToken"] = "access_token"; 15 /** 16 * Refresh token. 17 * 18 * [Section 1.5](https://tools.ietf.org/html/rfc6749#section-1.5) 19 */ 20 TokenTypeHint["RefreshToken"] = "refresh_token"; 21})(TokenTypeHint || (TokenTypeHint = {})); 22// @needsAudit 23/** 24 * Grant type values used in dynamic client registration and auth requests. 25 * 26 * @see [Appendix A.10](https://tools.ietf.org/html/rfc6749#appendix-A.10) 27 */ 28export var GrantType; 29(function (GrantType) { 30 /** 31 * Used for exchanging an authorization code for one or more tokens. 32 * 33 * [Section 4.1.3](https://tools.ietf.org/html/rfc6749#section-4.1.3) 34 */ 35 GrantType["AuthorizationCode"] = "authorization_code"; 36 /** 37 * Used when obtaining an access token. 38 * 39 * [Section 4.2](https://tools.ietf.org/html/rfc6749#section-4.2) 40 */ 41 GrantType["Implicit"] = "implicit"; 42 /** 43 * Used when exchanging a refresh token for a new token. 44 * 45 * [Section 6](https://tools.ietf.org/html/rfc6749#section-6) 46 */ 47 GrantType["RefreshToken"] = "refresh_token"; 48 /** 49 * Used for client credentials flow. 50 * 51 * [Section 4.4.2](https://tools.ietf.org/html/rfc6749#section-4.4.2) 52 */ 53 GrantType["ClientCredentials"] = "client_credentials"; 54})(GrantType || (GrantType = {})); 55//# sourceMappingURL=TokenRequest.types.js.map