Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oauth4webapi/src/index.ts>processPushedAuthorizationResponse

OAuth 2 / OpenID Connect for Web Platform API JavaScript runtimes
Go to Latest
function processPushedAuthorizationResponse
import { processPushedAuthorizationResponse } from "https://deno.land/x/oauth4webapi@v2.1.0/src/index.ts";

Validates Response instance to be one coming from the AuthorizationServer.pushed_authorization_request_endpoint | as.pushed_authorization_request_endpoint.

Parameters

Authorization Server Metadata.

client: Client

Client Metadata.

response: Response

Resolved value from pushedAuthorizationRequest.

Returns

Resolves with an object representing the parsed successful response, or an object representing an OAuth 2.0 protocol style error. Use isOAuth2Error to determine if an OAuth 2.0 error was returned.