Skip to main content
Latest
enum TokenFailRequest.Reason
import { TokenFailRequest } from "https://deno.land/x/authlete_deno@v1.2.10/mod.ts";
const { Reason } = TokenFailRequest;

Failure reasons of token requests.

Members

INVALID_RESOURCE_OWNER_CREDENTIALS

The resource owner's credentials (username and password) contained in the token request whose flow is Resource Owner Password Credentials are invalid.

Using this reason will result in "error":"invalid_request".

INVALID_TARGET

The requested resource is invalid, missing, unknown, or malformed. See "Resource Indicators for OAuth 2.0" for details.

Using this reason will result in "error":"invalid_target".

UNKNOWN

Unknown reason.

Using this reason will result in "error":"server_error".