import { TokenRequest } from "https://deno.land/x/authlete_deno@v1.2.10/src/dto/token_request.ts";
Request to Authlete /auth/token
API.
Properties
Client certificate path (used in PKI-based MTLS auth when certificates are validated by the Authlete service).
The client ID extracted from Authorization
header of the token
request from the client application.
If the token endpoint of the authorization server implementation
supports Basic Authentication
as a means of client authentication, and the request
from the client application contained its client ID in Authorization
header, the value should be extracted and set as this parameter.
The client secret extracted from Authorization
header of the
token request from the client application.
If the token endpoint of the authorization server implementation
supports Basic Authentication
as a means of client authentication, and the request
from the client application contained its client secret in
Authorization
header, the value should be extracted and set
as this parameter.
OAuth 2.0 token request parameters which are the request parameters that the OAuth 2.0 token endpoint of the authorization server implementation received from the client application.
The value of parameters
is the entire entity body (which is
formatted in application/x-www-form-urlencoded
) of the request
from the client application.
Extra properties to associate with an access token.