NOT_VALID
NOT_VALID = 0 : integer
Constant for auth result
Http auth class
$stream : \Pop\Http\Client\Stream
Auth client stream
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 = array(), array $contextOptions = array(), array $contextParams = array()) : integer
Method to authenticate
string | $username | |
string | $password | |
array | $headers | |
array | $contextOptions | |
array | $contextParams |
setStream(\Pop\Http\Client\Stream $stream) : \Pop\Auth\Http
Set stream
\Pop\Http\Client\Stream | $stream |
setContentType(string $contentType) : \Pop\Auth\Http
Set content type
string | $contentType |
setContentTypeAsUrlForm() : \Pop\Auth\Http
Set content type as URL form
setContentTypeAsMultipartForm() : \Pop\Auth\Http
Set content type as multipart form
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 |
setType(string $type) : \Pop\Auth\Http
Set type
string | $type |
getStream() : \Pop\Http\Client\Stream
Get stream
stream() : \Pop\Http\Client\Stream
Get stream (alias method)