Skip to main content
Go to Latest
namespace AuthorizationIssueResponse
Re-export
import { AuthorizationIssueResponse } from "https://deno.land/x/authlete_deno@v1.2.9/mod.ts";

Enums

The next action that the service implementation should take.

class AuthorizationIssueResponse
extends ApiResponse
Re-export
import { AuthorizationIssueResponse } from "https://deno.land/x/authlete_deno@v1.2.9/mod.ts";

Response from Authlete /auth/authorization/issue API.

Properties

optional
accessToken: string

An access token is issued when the response_type request parameter of the authorization request includes token.

If the service is configured to issue JWT-based access tokens, a JWT-based access token is issued additionally. In the case, jwtAccessToken returns the JWT-based access token.

accessTokenDuration: number

The duration of the access token in seconds.

accessTokenExpiresAt: number

The date in milliseconds since the Unix epoch at which the access token will expire.

The next action that the service implementation should take.

optional
authorizationCode: string

The newly issued authorization code. An authorization code is issued when the response_type request parameter of the authorization request includes code.

optional
idToken: string

The newly issued ID token. An ID token is issued when the response_type request parameter of the authorization request includes id_token.

optional
jwtAccessToken: string

The newly issued access token in JWT format.

If the authorization server is configured to issue JWT-based access tokens (= if the service's accessTokenSignAlg is set), a JWT-based access token is issued along with the original random-string one.

For more details about the detailed format of the JWT-based access token, see the description of the Service class.

responseContent: string

The response content which can be used as the entity body of the response returned to the client application.