InteractsWithOAuthEndpoints
trait InteractsWithOAuthEndpoints
Properties
| protected int | $maxOAuthResponseSize |
Methods
oAuthRequest()
Prepare a buffered OAuth request without following redirects.
resolveOAuthDestination(PendingRequest $request, string $url)
Validate and pin an OAuth endpoint within the prepared request's limits.
bool
isLocalhost(string $host)
Determine whether the normalized host names a local development endpoint.
string
normalizedHost(string $host)
Normalize the host consistently with destination validation.
Details
at line 26
protected PendingRequest
oAuthRequest()
Prepare a buffered OAuth request without following redirects.
at line 51
protected ResolvedDestination
resolveOAuthDestination(PendingRequest $request, string $url)
Validate and pin an OAuth endpoint within the prepared request's limits.
at line 63
protected bool
isLocalhost(string $host)
Determine whether the normalized host names a local development endpoint.
at line 71
protected string
normalizedHost(string $host)
Normalize the host consistently with destination validation.