Credentials
in package
Class Credentials
Tags
Table of Contents
Properties
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
$baseUrl
private
string
$baseUrl
dataCycle baseUrl
$token
private
string
$token
dataCycle token
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.