UsernamePasswordCredentials
in package
implements
AuthCredentialsInterface
Class UsernamePasswordCredentials
Tags
Interfaces, Classes and Traits
- AuthCredentialsInterface
- Interface AuthCredentialsInterface
Table of Contents
- $password : string
- $username : string
- __construct() : mixed
- UsernamePasswordCredentials constructor.
- getPassword() : string
- Returns the password.
- getUsername() : string
- Returns the username.
Properties
$password
protected
string
$password
$username
protected
string
$username
Methods
__construct()
UsernamePasswordCredentials constructor.
public
__construct(NonEmptyStringType $username, StringType $password) : mixed
Parameters
- $username : NonEmptyStringType
- $password : StringType
Return values
mixed —getPassword()
Returns the password.
public
getPassword() : string
Return values
string —Password.
getUsername()
Returns the username.
public
getUsername() : string
Return values
string —Username.