Documentation

Horde_Imap_Client_Password_Xoauth2
in package
implements Horde_Imap_Client_Base_Password

Generates an OAuth 2.0 authentication token as used in the Gmail XOAUTH2 authentication mechanism.

See: https://developers.google.com/gmail/xoauth2_protocol

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2013-2017 Horde LLC

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

since
2.16.0

Interfaces, Classes, Traits and Enums

Horde_Imap_Client_Base_Password
Interface to allow dynamic generation of server password.

Table of Contents

$access_token  : string
Access token.
$username  : string
Username.
__construct()  : mixed
Constructor.
getPassword()  : string
Return the password to use for the server connection.

Properties

$access_token

Access token.

public string $access_token

$username

Username.

public string $username

Methods

__construct()

Constructor.

public __construct(string $username, string $access_token) : mixed
Parameters
$username : string

The username.

$access_token : string

The access token.

Return values
mixed

getPassword()

Return the password to use for the server connection.

public getPassword() : string
Return values
string

The password.

Search results