PHP Class Horde_Smtp_Password_Xoauth2, horde

See: https://developers.google.com/gmail/xoauth2_protocol
Since: 1.3.0
Author: Michael Slusarz ([email protected])
Inheritance: implements Horde_Smtp_Password
Datei anzeigen Open project: horde/horde Class Usage Examples

Public Properties

Property Type Description
$access_token string Access token.
$username string Username.

Public Methods

Method Description
__construct ( string $username, string $access_token ) Constructor.
getPassword ( ) : string Return the password to use for the server connection.

Method Details

__construct() public method

Constructor.
public __construct ( string $username, string $access_token )
$username string The username.
$access_token string The access token.

getPassword() public method

Return the password to use for the server connection.
public getPassword ( ) : string
return string The password.

Property Details

$access_token public_oe property

Access token.
public string $access_token
return string

$username public_oe property

Username.
public string $username
return string