Documentation

VultrAuth
in package

Authentication mechanism that holds your API key.

Tags
todo

This class will eventually have to be refactored when we get around to supporting an actual OAuth authentication mechanism.

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

Methods

__construct()

public __construct(string $secret) : mixed
Parameters
$secret : string

getBearerToken()

public getBearerToken() : string
Return values
string

getBearerTokenHead()

public getBearerTokenHead() : string
Return values
string

getSecret()

public getSecret() : string
Return values
string

        
On this page

Search results