Class OAuthTokenCredential
Class OAuthTokenCredential
- PayPal\Common\PayPalModel
- PayPal\Common\PayPalResourceModel implements PayPal\Rest\IResource
- PayPal\Auth\OAuthTokenCredential
Methods summary
public
|
|
public
string
|
|
public
string
|
|
public
null|string
|
|
public
string|null
|
#
getRefreshToken( $config, $authorizationCode = null, array $params = array() )
Get a Refresh Token from Authorization Code |
public
string
|
#
updateAccessToken( array $config, string|null $refreshToken = null )
Updates Access Token based on given input |
protected
mixed
|
|
public
string
|
|
public
string
|
Methods inherited from PayPal\Common\PayPalResourceModel
addLink()
,
executeCall()
,
getLink()
,
getLinks()
,
removeLink()
,
setLinks()
Methods inherited from PayPal\Common\PayPalModel
__get()
,
__isset()
,
__set()
,
__toString()
,
__unset()
,
fromArray()
,
fromJson()
,
getList()
,
setCredential()
,
toArray()
,
toJSON()
Properties summary
public static
string
|
$CACHE_PATH
|
#
'/../../../var/auth.cache'
|
public static
string
|
$AUTH_HANDLER
Default Auth Handler |
#
'PayPal\Handler\OauthHandler'
|
public static
integer
|
$expiryBufferTime
Private Variable |
#
120
|