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

A class that represents an element in authorization_details which is defined in "OAuth 2.0 Rich Authorization Requests".

Properties

optional
actions: string[]

The actions.

From "OAuth 2.0 Rich Authorization Requests":

"An array of strings representing the kinds of actions to be taken at the resource. The values of the strings are determined by the API being protected."

optional
identifier: string

The identifier of a specific resource.

From "OAuth 2.0 Rich Authorization Requests":

"A string identifier indicating a specific resource available at the API."

optional
locations: string[]

The resources and/or resource servers.

From "OAuth 2.0 Rich Authorization Requests":

"An array of strings representing the location of the resource or resource server. This is typically composed of URIs."

optional
otherFields: string[]

The other fields (than type, locations, actions and identifier) as a string in the JSON format.

The content varies depending on the type field.

optional
privileges: string[]

The types or levels of privilege.

From "OAuth 2.0 Rich Authorization Requests":

"An array of strings representing the types or levels of privilege being requested at the resource."

optional
type: string

The type of this element.

From "OAuth 2.0 Rich Authorization Requests":

"The type of resource request as a string. This field MAY define which other elements are allowed in the request. This element is REQUIRED."