VultrAuth
in package
Authentication mechanism that holds your API key.
Tags
Table of Contents
Constants
- AUTHORIZATION_HEADER = 'Authorization'
Properties
- $secret : string
Methods
- __construct() : mixed
- getBearerToken() : string
- getBearerTokenHead() : string
- getSecret() : string
Constants
AUTHORIZATION_HEADER
public
mixed
AUTHORIZATION_HEADER
= 'Authorization'
Properties
$secret
private
string
$secret
Methods
__construct()
public
__construct(string $secret) : mixed
Parameters
- $secret : string
getBearerToken()
public
getBearerToken() : string
Return values
stringgetBearerTokenHead()
public
getBearerTokenHead() : string
Return values
stringgetSecret()
public
getSecret() : string