MCP PHP SDK

RedirectAuthorizationHandler implements AuthorizationHandlerInterface

FinalYes
Tags
author

bbdu3 ergouyang854@gmail.com

Table of Contents

Interfaces

AuthorizationHandlerInterface
Takes the user to the authorization endpoint and returns the answer of the authorization server.

Methods

authorize()  : array<string, string>
Send the user to $authorizationUrl and return the query parameters of the redirect to $redirectUri, unchecked.

Methods

authorize()

Send the user to $authorizationUrl and return the query parameters of the redirect to $redirectUri, unchecked.

public authorize(string $authorizationUrl, string $redirectUri) : array<string, string>
Parameters
$authorizationUrl : string
$redirectUri : string
Return values
array<string, string> —

the callback's query parameters

On this page

Search results