OAuthClient.discoverAuthServer

Discover authorization-server metadata for an issuer, trying the RFC 8414 and OpenID Connect Discovery well-known locations in order.

enforceIssuerMatch selects how a discovered document's issuer is treated; the issuer enforcement rule is documented on bindDiscoveredIssuer.

class OAuthClient
@safe
discoverAuthServer
(
string issuer
,
bool enforceIssuerMatch = true
)