\Iqrf\Repository\Entities Credentials

Credentials entity

Summary

Methods
Properties
Constants
__construct
toGuzzle
No public properties found
No public constants found
No protected methods found
No protected properties found
No protected constants found
No private methods found
username
password
No private constants found

Properties

$username

$username : ?string

Type

string|null

$password

$password : ?string

Type

string|null

Methods

__construct()

__construct(string|null  $username = null, string|null  $password = null) : mixed

Constructor

Parameters

string|null $username

Username

string|null $password

Password

Returns

mixed —

toGuzzle()

toGuzzle() : string[]|null

Converts the object into an array for Guzzle

Returns

string[]|null —

Credentials for Guzzle