DefaultConfigurationController
extends Controller
in package
An implementation of configuration endpoint.
An OpenID provider that supports OpenID Connect Discovery 1.0 provides an endpoint that returns its configuration information in JSON format. Details about the format are described in 3. OpenID Provider Metadata of OpenID Connect Discovery 1.0.
Note that the URI of an OpenID provider configuration endpoint is defined in 4.1. OpenID Provider Configuration Request. In short, the URI must be:
{Issuer-Identifier}/.well-known/openid-configuration
"{Issuer-Identifier}" is a URL to identify an OpenID provider. For example,
https://example.com
. For details about Issuer Identifier, see the
description about the issuer
metadata defined in
3. OpenID Provider Metadata
of OpenID Connect Discovery 1.0
and the iss
claim in
2. ID Token
of OpenID Connect Core 1.0.
You can change the Issuer Identifier of your service by using the management console (Service Owner Console). Note that the default value of Issuer Identifier is not appropriate for production use, so you should change it.
Table of Contents
Methods
- __invoke() : Response
- The entry point of this controller.
Methods
__invoke()
The entry point of this controller.
public
__invoke(AuthleteApi $api) : Response
Parameters
- $api : AuthleteApi
-
An implementation of the
AuthleteApi
interface.
Return values
Response —A response that should be returned to the client.