\Pydio\Access\Core\StreamOAuthStream

Class OAuthStream

Summary

Methods
Properties
Constants
__construct()
getOptions()
getAuthURI()
getContents()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
getTokenKey()
getTokens()
setTokens()
$context
N/A

Properties

Methods

__construct()

__construct(\GuzzleHttp\Stream\StreamInterface  $stream, mixed  $base) 

OAuthStream constructor.

Parameters

\GuzzleHttp\Stream\StreamInterface $stream
mixed $base

Throws

\Pydio\Core\Exception\PydioUserAlertException
\Exception

getAuthURI()

getAuthURI(array  $options) : string

Parameters

array $options

Returns

string

getContents()

getContents() : \GuzzleHttp\Ring\Future\FutureInterface|mixed|null|string

Returns

\GuzzleHttp\Ring\Future\FutureInterface|mixed|null|string

getTokenKey()

getTokenKey() : string

Returns

string —

key

getTokens()

getTokens() : array

Returns

array

setTokens()

setTokens(  $accessToken,   $refreshToken) : boolean

Parameters

$accessToken
$refreshToken

Returns

boolean