import { UserInfoRequestHandler } from "https://deno.land/x/authlete_deno@v1.2.3/mod.ts";
Interfaces
Input parameters for the |
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.
Methods
private
callUserInfo(params: UserInfoRequestHandler.Params)private
callUserInfoIssue(uir: UserInfoResponse)private
getUserInfo(uir: UserInfoResponse)handle(params: UserInfoRequestHandler.Params)
Handle a userinfo request. This method calls Authlete /api/auth/userinfo
API and conditionally /api/auth/userinfo/issue
API.