OAuthRegisterController
class OAuthRegisterController
Methods
void
array
string
resolveClientName(array $validated)
Resolve the client name, falling back to the redirect host or a default.
bool
isValidRedirectUri(string $value)
Determine whether the redirect URI uses an allowed scheme and format.
bool
isLocalhostUrl(string $url)
Determine whether the URL is an HTTP loopback callback.
array
allowedDomains()
Get the allowed redirect domains.
Details
at line 30
JsonResponse
__invoke(Request $request)
Register a new OAuth client for a third-party application.
at line 135
protected void
grantMcpScope(Client $client)
Grant the MCP scope within the anonymous registration policy.
at line 152
protected array
persistClientMetadata(Client $client, array $validated)
Persist supported client metadata.
at line 170
protected string
resolveClientName(array $validated)
Resolve the client name, falling back to the redirect host or a default.
at line 180
protected bool
isValidRedirectUri(string $value)
Determine whether the redirect URI uses an allowed scheme and format.
at line 208
protected bool
isLocalhostUrl(string $url)
Determine whether the URL is an HTTP loopback callback.
at line 224
protected array
allowedDomains()
Get the allowed redirect domains.