Property | Type | Description | |
---|---|---|---|
$domainMap | domainMap Maps aliases to LinkedIn domains. | ||
$knownLinkedInParams | knownLinkedInParams A list of params that might be in the query string |
Property | Type | Description | |
---|---|---|---|
$trustForwarded | boolean | Indicates if we trust HTTP_X_FORWARDED_* headers. |
Method | Description | |
---|---|---|
getCurrentUrl ( ) | ||
getUrl ( $name, $path = '', $params = [] ) | ||
setTrustForwarded ( $trustForwarded ) |
Method | Description | |
---|---|---|
dropLinkedInParams ( string $query ) : string | Drop known LinkedIn params. Ie those in self::$knownLinkeInParams. | |
getHttpHost ( ) : mixed | Get the host. | |
getHttpProtocol ( ) : string | Get the protocol. |
protected dropLinkedInParams ( string $query ) : string | ||
$query | string | |
return | string | query without LinkedIn params. This string is prepended with a question mark '?' |
protected getHttpProtocol ( ) : string | ||
return | string |
public static $domainMap |
public static $knownLinkedInParams |
protected bool $trustForwarded | ||
return | boolean |