ProtectedResourceMetadata.toJson

Serialize to the RFC 9728 metadata document a protected resource server publishes at /.well-known/oauth-protected-resource. resource and authorization_servers are always present; scopes_supported is emitted only when non-empty.

struct ProtectedResourceMetadata
const @safe
Json
toJson
()