UsernamePasswordCredentials

Implements \AuthCredentialsInterface

Class UsernamePasswordCredentials

category

System

package

Authentication

subpackage

Entities

Methods

UsernamePasswordCredentials constructor.

__construct(\NonEmptyStringType $username, \StringType $password) 

Arguments

$password

\StringType

Returns the password.

getPassword() : string

Response

string

Password.

Returns the username.

getUsername() : string

Response

string

Username.

Properties

username

username : string
var

Type(s)

string

password

password : string
var

Type(s)

string