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

Service Provider Interface to work with AuthorizationRequestHandler.

An implementation of this interface must be given to the constructor of AuthorizationRequestHandler class.

Methods

isUserAuthenticated(): boolean

Check whether an end-user has already logged in or not.

This method is called only when an authorization request comes with prompt=none. Therefore, if you have no mind to support prompt=none, always return false. See 3.1.2.1. Authentication Request in OpenID Connect Core 1.0 for details about prompt=none.