class ServerMetadataController

Methods

__construct(ServerMetadata $metadata, ServerFactory $servers)

Create the public server metadata endpoints.

show(Request $request)

Publish metadata only at the current issuer's discovery location.

jwks()

Publish the already parsed public verification keys.

response(array $data)

Bound document freshness by the server's key publication and removal policy.

Details

at line 17
__construct(ServerMetadata $metadata, ServerFactory $servers)

Create the public server metadata endpoints.

Parameters

ServerMetadata $metadata
ServerFactory $servers

at line 26
JsonResponse show(Request $request)

Publish metadata only at the current issuer's discovery location.

Parameters

Request $request

Return Value

JsonResponse

at line 37
JsonResponse jwks()

Publish the already parsed public verification keys.

Return Value

JsonResponse

at line 45
protected JsonResponse response(array $data)

Bound document freshness by the server's key publication and removal policy.

Parameters

array $data

Return Value

JsonResponse