Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/authlete_deno/mod.ts

Authlete Library for Deno
Latest
import * as authleteDeno from "https://deno.land/x/authlete_deno@v1.2.10/mod.ts";

Classes

Information about an access token.

Address claim that represents a physical mailing address. For more details, see OpenID Connect Core 1.0, 5.1.1. Address Claim.

The base class of an API response from an Authlete API.

Values for application_type.

Values for attachments_supported.

Authlete API Exception.

The factory to create an AuthleteApi instance.

An implementation of AuthleteApi interface.

Implementation of AuthleteConfiguration based on a properties file. Use this class for creating configuration based on a property file named authlete.json.

Request to Authlete /auth/authorization/fail API.

Response from Authlete /auth/authorization/fail API.

Request to Authlete /auth/authorization/issue API.

Response from Authlete /auth/authorization/issue API.

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

Request to Authlete /auth/authorization API.

Response from Authlete /auth/authorization API.

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

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

Request to Authlete /backchannel/authentication/complete API.

Response from Authlete /backchannel/authentication/complete API.

Request to Authlete /backchannel/authentication/fail API.

Response from Authlete /backchannel/authentication/fail API.

Request to Authlete /backchannel/authentication/issue API.

Response from Authlete /backchannel/authentication/issue API.

Request to Authlete /backchannel/authentication API.

Response from Authlete /backchannel/authentication API.

Credentials in Basic authentication.

Claim types.

Information about a client application.

Client authentication methods.

Client extension.

Response from Authlete /client/get/list API.

Client types of OAuth 2.0 client applications.

Backchannel token delivery mode defined in the specification of CIBA (Client Initiated Backchannel Authentication).

Request to Authlete /device/authorization API.

Response from Authlete /device/authorization API.

Request to Authlete /device/complete API.

Response from Authlete /device/complete API.

Request to Authlete /device/verification API.

Response from Authlete /device/verification API.

Values for display.

Dynamic Scope.

Values for grant_type.

A pair of a string key and a string value.

Request to Authlete /auth/introspection API.

Response from Authlete /auth/introspection API.

"alg" (Algorithm) Header Parameter Values for JWE.

"enc" (Encryption Algorithm) Header Parameter Values for JWE.

"alg" (Algorithm) Header Parameter Values for JWS.

Named URI.

A pair of a string key and a string value.

Values for prompt.

Property that consists of a string key and a string value.

Request to Authlete /pushed_auth_req API.

Response from Authlete /pushed_auth_req API.

Request to Authlete /auth/revocation API.

Response from Authlete /auth/introspection API.

Information about a scope of a service.

Information about a service.

Response from Authlete /service/get/list API.

Service profile.

SNS credentials (API key and API secret).

Request to Authlete /auth/introspection/standard API.

Request to Authlete /auth/introspection/standard API.

Values for subject_type.

A string value with a language tag.

Request to Authlete /auth/token/create API.

Response from Authlete /auth/token/create API.

Request to Authlete /auth/token/fail API.

Response from Authlete /auth/token/fail API.

Information about a token of the type urn:ietf:params:oauth:token-type:access_token or the type urn:ietf:params:oauth:token-type:refresh_token.

Request to Authlete /auth/token/issue API.

Response from Authlete /auth/token/issue API.

Response from Authlete /auth/token/get/list API.

Request to Authlete /auth/token API.

Response from Authlete /auth/token API.

Request to Authlete /auth/token/revoke API.

Response from Authlete /auth/token/revoke API.

Token types registered at OAuth URI of OAuth Parameters of IANA (Internet Assigned Numbers Authority).

Request to Authlete /auth/token/update API.

Response from Authlete /auth/token/update API.

Character set for end-user verification codes (user_code) in Device Flow.

Types of hints for end-user identification.

Request to Authlete /auth/userinfo/issue API

Response from Authlete /auth/userinfo/issue API

Request to Authlete /auth/userinfo API

Response from Authlete /auth/userinfo API

Enums

Failure reasons of authorization requests.

The next action that the service implementation should take.

The next action that the service implementation should take.

Failure reasons of authorization requests.

The next action that the service implementation should take.

Failure reasons of authorization requests.

The next action that the service implementation should take.

The next action that the service implementation should take.

The next action that the service implementation should take.

The next action that the service implementation should take.

Failure reasons of authorization requests.

The next action that the service implementation should take.

The next action that the service implementation should take.

Hash algorithm.

The next action that the service implementation should take.

The next action that the service implementation should take.

The next action that the service implementation should take.

Standard claims.

The next action that the service implementation should take.

The next action that the service implementation should take.

Failure reasons of token requests.

The next action that the service implementation should take.

The next action that the service implementation should take.

The next action that the service implementation should take.

The next action that the service implementation should take.

The next action that the service implementation should take.

The next action that the service implementation should take.

Variables

The information about the standard implementation of AuthleteApi interface.

Functions

Check if the given value is empty.

Check if the given value is not empty.

Check if the given value is undefined.

Check if the given value is an object.

Check if the given value is an object.

Check if the given value is undefined.

Check if the given value is undefined or null.

Convert a JavaScript value to a JSON string. null is returned if failed to stringfy the value.

Interfaces

Authlete API Interface.

The interface for configuration.

An interface that represents a resource owner (in the context of OAuth 2.0) or an end user (in the context of OpenID Connect).

Type Aliases

The alias for the type of an object holding information about an implementation class of AuthleteApi interface.