OAuthClient.clientIdMetadataClient

Use this client's configured OAuth Client ID Metadata Document URL (SEP-991) as the client_id for the authorization and token requests. The returned RegisteredClient carries the HTTPS-URL client_id and no secret, so it can be passed to authorizationUrl, exchangeCode, refresh, etc. exactly like a registered or pre-registered client.

Throws when the authorization server does not advertise client_id_metadata_document_supported, or when no valid HTTPS-URL client_id (with a path component) is configured.

class OAuthClient
@safe
clientIdMetadataClient