NOT_VALID
NOT_VALID
Constant for auth result
Http auth class
$response : \Pop\Auth\Http\Response
Auth response
setUsername(string $username) : \Pop\Auth\AbstractAuth
Set the username
| string | $username |
setPassword(string $password) : \Pop\Auth\AbstractAuth
Set the password
| string | $password |
authenticate(string $username, string $password, array $headers = null, array $contextOptions = array(), array $contextParams = null) : integer
Method to authenticate
| string | $username | |
| string | $password | |
| array | $headers | |
| array | $contextOptions | |
| array | $contextParams |
setUri(string $uri) : \Pop\Auth\Http
Set the URI
| string | $uri |
setRelativeUri(string $relativeUri) : \Pop\Auth\Http
Set the relative URI
| string | $relativeUri |
setBearerToken(string $bearerToken) : \Pop\Auth\Http
Set the bearer token
| string | $bearerToken |
setRefreshToken(string $refreshToken) : \Pop\Auth\Http
Set the refresh token
| string | $refreshToken |
setRefreshTokenName(string $refreshTokenName) : \Pop\Auth\Http
Set the refresh token name
| string | $refreshTokenName |
setMethod(string $method) : \Pop\Auth\Http
Set method
| string | $method |
setType(string $type) : \Pop\Auth\Http
Set type
| string | $type |
setResponse(\Pop\Auth\Http\Response $response) : \Pop\Auth\Http
Set auth response
| \Pop\Auth\Http\Response | $response |
getResponse() : \Pop\Auth\Http\Response
Get auth response