mountOAuthProxy

Mount the full client-facing OAuth surface of an OAuthProxy onto a vibe.d URLRouter. Registers the AS-metadata + PRM well-known documents, the RFC 7591 /register endpoint, the /authorize -> upstream redirect (persisting the client's dynamic redirect URI), the fixed callback that relays the upstream code back to the client, and the /token endpoint that exchanges the relayed code at the upstream with the fixed credentials. Paths are derived from the proxy's own configured endpoints so they line up exactly with the AS metadata it publishes.

@safe @safe
void
mountOAuthProxy
(
URLRouter router
,)