Property | Type | Description | |
---|---|---|---|
$database | string | Database name for mongo connection | |
$digestDomains | string | Digest domains for HTTP digest authentication (space-separated list of paths) | |
$dsn | string | PDO DSN of database for use with zf-oauth2 | |
$dsnType | string | DSN type (Mongo or PDO) | |
$htdigest | string | Path to file containing HTTP digest credentials | |
$htpasswd | string | Path to file containing HTTP basic credentials | |
$nonceTimeout | integer | Nonce timeout for HTTP digest authentication | |
$password | string | Database password for zf-oauth2 | |
$realm | string | Realm to use with either HTTP basic or digest authentication | |
$routeMatch | string | Literal URI path to match for OAuth2 authentication endpoint | |
$type | string | Authentication type | |
$username | string | Database username for zf-oauth2 |
Method | Description | |
---|---|---|
__construct ( $type = self::TYPE_BASIC, $realmOrParams = 'api', array $params = [] ) | ||
exchangeArray ( array $array ) | ||
getArrayCopy ( ) | ||
getDsnType ( ) | ||
isBasic ( ) | ||
isDigest ( ) | ||
isOAuth2 ( ) |
public __construct ( $type = self::TYPE_BASIC, $realmOrParams = 'api', array $params = [] ) | ||
$params | array |
protected string $database | ||
return | string |
protected string $digestDomains | ||
return | string |
protected string $dsn | ||
return | string |
protected string $htdigest | ||
return | string |
protected string $htpasswd | ||
return | string |
protected int $nonceTimeout | ||
return | integer |
protected string $password | ||
return | string |
protected string $realm | ||
return | string |
protected string $routeMatch | ||
return | string |
protected string $username | ||
return | string |