import { processDiscoveryResponse } from "https://deno.land/x/oauth4webapi@v2.1.0/mod.ts";
Validates Response instance to be one coming from the authorization server's well-known discovery endpoint.
Parameters
expectedIssuerIdentifier: URL
Expected Issuer Identifier value.
response: Response
Resolved value from discoveryRequest.
Returns
Promise<AuthorizationServer>
Resolves with the discovered Authorization Server Metadata.