Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
class AuthorizationPageModel
import { AuthorizationPageModel } from "https://deno.land/x/authlete_deno@v1.2.3/src/model/authorization_page_model.ts";

The data object to be used when rendering the authorization page.

Constructors

new
AuthorizationPageModel(info: AuthorizationResponse, user?: User)

A constructor with an AuthorizationResponse instance and a User object.

Properties

optional
authorizationDetails: AuthzDetails

The content of the authorization_details request parameter in JSON format. See "OAuth 2.0 Rich Authorization Requests" for details.

clientName: string

The client name.

optional
clientUri: string

The URL of the homepage of the client application.

optional
description: string

The description of the client application.

optional
loginId: string

Get the login ID which should be set to the login ID field in the the authorization page as the initial value.

optional
logoUri: string

The URL of the logo image of the client application.

optional
policyUri: string

The URL of the policy page of the client application.

optional
scopes: Scope[]

Get the list of scopes requested by the authorization request.

serviceName: string

The service name.

optional
tosUri: string

The URL of "Terms of Service" page of the client application.

optional
user: User

The user.