| Fully Qualified Name: | Laminas\Crypt\Password\Apache |
| Implements: | PasswordInterface |
Apache password authentication
| Name | Description | Defined By |
|---|---|---|
| __construct() | Constructor | Apache |
| create() | Generate the hash of a password | Apache |
| getAuthName() | Get the AuthName (for digest authentication) | Apache |
| getFormat() | Get the format of the password | Apache |
| getUserName() | Get the username | Apache |
| setAuthName() | Set the AuthName (for digest authentication) | Apache |
| setFormat() | Set the format of the password | Apache |
| setUserName() | Set the username | Apache |
| verify() | Verify if a password is correct against a hash value | Apache |
Constructor
| Parameter Name | Type | Description |
|---|---|---|
| $options | array|\Traversable |
Returns:
Generate the hash of a password
| Parameter Name | Type | Description |
|---|---|---|
| $password | string |
Returns: string
Get the AuthName (for digest authentication)
Returns: string
Get the format of the password
Returns: string
Get the username
Returns: string
Set the AuthName (for digest authentication)
| Parameter Name | Type | Description |
|---|---|---|
| $name | string |
Returns: \Apache Provides a fluent interface
Set the format of the password
| Parameter Name | Type | Description |
|---|---|---|
| $format | string |
Returns: \Apache Provides a fluent interface
Set the username
| Parameter Name | Type | Description |
|---|---|---|
| $name | string |
Returns: \Apache Provides a fluent interface
Verify if a password is correct against a hash value
| Parameter Name | Type | Description |
|---|---|---|
| $password | string | |
| $hash | string |
Returns: bool