Build a ResourceServerConfig for a JWT/JWKS IdP in one call: pins issuer +
jwksUri + audience + requiredScopes on a jwtVerifier, and mirrors the
public metadata fields (resource, authorizationServers, scopesSupported)
so the audience/resource/scopes are never re-typed. The result is the single
auth object the transport accepts (StreamableHttpOptions.auth /
mountMcp), the D analogue of FastMCP's auth=JWTVerifier(...).
Build a ResourceServerConfig for a JWT/JWKS IdP in one call: pins issuer + jwksUri + audience + requiredScopes on a jwtVerifier, and mirrors the public metadata fields (resource, authorizationServers, scopesSupported) so the audience/resource/scopes are never re-typed. The result is the single auth object the transport accepts (StreamableHttpOptions.auth / mountMcp), the D analogue of FastMCP's auth=JWTVerifier(...).