import { TokenFailRequest } from "https://deno.land/x/authlete_deno@v1.2.10/src/dto/token_fail_request.ts";
const { Reason } = TokenFailRequest;
Failure reasons of token requests.
Members
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"
.
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"
.