DynamicClientRegistration
class DynamicClientRegistration
Traits
Properties
| protected int | $maxOAuthResponseSize | from InteractsWithOAuthEndpoints |
Methods
Prepare a buffered OAuth request without following redirects.
Validate and pin an OAuth endpoint within the prepared request's limits.
Determine whether the normalized host names a local development endpoint.
Normalize the host consistently with destination validation.
Create a new dynamic client registration instance.
Register a client with the authorization server.
Details
in
InteractsWithOAuthEndpoints at line 26
protected PendingRequest
oAuthRequest()
Prepare a buffered OAuth request without following redirects.
in
InteractsWithOAuthEndpoints at line 51
protected ResolvedDestination
resolveOAuthDestination(PendingRequest $request, string $url)
Validate and pin an OAuth endpoint within the prepared request's limits.
in
InteractsWithOAuthEndpoints at line 63
protected bool
isLocalhost(string $host)
Determine whether the normalized host names a local development endpoint.
in
InteractsWithOAuthEndpoints at line 71
protected string
normalizedHost(string $host)
Normalize the host consistently with destination validation.
at line 18
__construct(AuthServerDiscovery $discovery = new AuthServerDiscovery())
Create a new dynamic client registration instance.
at line 25
ClientRegistration
register(string $registrationEndpoint, string $redirectUri, string|null $scope = null, string $clientName = 'Hypervel MCP Client', string $applicationType = 'web', TokenEndpointAuthMethod $tokenEndpointAuthMethod = TokenEndpointAuthMethod::ClientSecretPost)
Register a client with the authorization server.