title | footer |
---|---|
\leantime\core\IncomingRequest |
false |
Incoming Request information
- Full name:
\leantime\core\IncomingRequest
public IncomingRequest::__construct(): mixed
Return Value:
Gets the base fqdn including protocol Note: HTTP_HOST will return port number as well
public IncomingRequest::getBaseURL(): string
Return Value:
Gets the full URL including request uri and protocol
public IncomingRequest::getFullURL(): string
Return Value:
Gets the request URI (path behind domain name) Will adjust for subfolder installations
public IncomingRequest::getRequestURI(string $baseURL = ""): string
Parameters:
Parameter | Type | Description |
---|---|---|
baseURL |
string | Base Url in case of subfolder installations |
Return Value:
public static IncomingRequest::getRequestMethod(): mixed
- This method is static.
Return Value:
public static IncomingRequest::getRequestParams(mixed $method): mixed
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
method |
mixed |
Return Value:
Get hearder Authorization
public IncomingRequest::getAuthorizationHeader(): mixed
Return Value:
public IncomingRequest::getAPIKey(): mixed
Return Value:
public IncomingRequest::hasAPIKey(): mixed
Return Value:
get access token from header
public IncomingRequest::getBearerToken(): mixed
Return Value:
Automatically generated from source code comments on 2023-02-28 using phpDocumentor