Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
namespace UserInfoRequestHandler
import { UserInfoRequestHandler } from "https://deno.land/x/authlete_deno@v1.2.3/mod.ts";

Interfaces

Input parameters for the handle() method of UserInfoRequestHandler class.

class UserInfoRequestHandler
import { UserInfoRequestHandler } from "https://deno.land/x/authlete_deno@v1.2.3/mod.ts";

Handler for userinfo requests to a "UserInfo Endpoint" defined in OpenID Connect Core 1.0.

In an implementation of userinfo endpoint, call one of handle() method variants and use the response as the response from the endpoint to the client application. handle() method calls Authlete /api/auth/userinfo API and /api/auth/userinfo/issue API.

Constructors

new
UserInfoRequestHandler(api: AuthleteApi, spi: UserInfoRequestHandlerSpi)

The constructor.

Properties

The SPI class for this handler.

Methods

Handle a userinfo request. This method calls Authlete /api/auth/userinfo API and conditionally /api/auth/userinfo/issue API.