IMP_Imap_Password
in package
implements
Horde_Imap_Client_Base_Password, Serializable
Dynamically generate the password needed for the mail server connection.
Tags
Table of Contents
Interfaces
- Horde_Imap_Client_Base_Password
- Serializable
Constants
- PASSWORD_KEY = 'imap_ob_pass'
Properties
- $_id : string
- Object storage ID.
- $_password : string
- Mail server password.
Methods
- __construct() : mixed
- Constructor.
- __serialize() : array<string|int, mixed>
- __unserialize() : void
- getPassword() : mixed
- serialize() : mixed
- unserialize() : mixed
Constants
PASSWORD_KEY
public
mixed
PASSWORD_KEY
= 'imap_ob_pass'
Properties
$_id
Object storage ID.
private
string
$_id
$_password
Mail server password.
private
string
$_password
Methods
__construct()
Constructor.
public
__construct(string $password) : mixed
Parameters
- $password : string
-
The mail server password.
__serialize()
public
__serialize() : array<string|int, mixed>
Return values
array<string|int, mixed>__unserialize()
public
__unserialize(array<string|int, mixed> $data) : void
Parameters
- $data : array<string|int, mixed>
getPassword()
public
getPassword() : mixed
serialize()
public
serialize() : mixed
unserialize()
public
unserialize(mixed $data) : mixed
Parameters
- $data : mixed