class ServerMetadata implements Arrayable

Methods

__construct(ServerFactory $servers, UrlGenerator $urls, Router $router, Repository $config)

Create the authorization server metadata builder.

string|null
discoveryUrl()

Get the RFC 8414 discovery location for the current issuer.

array
toArray()

Describe the current server's enabled OAuth capabilities.

Details

at line 19
__construct(ServerFactory $servers, UrlGenerator $urls, Router $router, Repository $config)

Create the authorization server metadata builder.

Parameters

ServerFactory $servers
UrlGenerator $urls
Router $router
Repository $config

at line 30
string|null discoveryUrl()

Get the RFC 8414 discovery location for the current issuer.

Return Value

string|null

at line 47
array toArray()

Describe the current server's enabled OAuth capabilities.

Return Value

array