Documentation

Credentials

Class Credentials

Tags
author

Patrick Rainer rainer@datacycle.at

Table of Contents

Properties

$baseUrl  : string
$token  : string

Methods

__construct()  : mixed
Construct a new array Credentials
getCredentials()  : array<string|int, mixed>
setBaseUrl()  : mixed
set the current credentials
setToken()  : mixed
set the current credentials

Properties

Methods

__construct()

Construct a new array Credentials

public __construct(array<string|int, mixed> $args) : mixed
Parameters
$args : array<string|int, mixed>

The input parameter accepts an array or an Object.

getCredentials()

public getCredentials() : array<string|int, mixed>
Return values
array<string|int, mixed>

setBaseUrl()

set the current credentials

private setBaseUrl(string $baseUrl) : mixed
Parameters
$baseUrl : string

Arguments.

setToken()

set the current credentials

private setToken(string $token) : mixed
Parameters
$token : string

Arguments.


        
On this page

Search results