Class OpenIdTokeninfo
Class OpenIdTokeninfo
Token grant resource
- PayPal\Common\PayPalModel
- PayPal\Common\PayPalResourceModel implements PayPal\Rest\IResource
- PayPal\Api\OpenIdTokeninfo
Methods summary
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
#
setRefreshToken( string $refresh_token )
The refresh token, which can be used to obtain new access tokens using the same authorization grant as described in OAuth2.0 RFC6749 in Section 6. |
public
string
|
#
getRefreshToken( )
The refresh token, which can be used to obtain new access tokens using the same authorization grant as described in OAuth2.0 RFC6749 in Section 6. |
public
|
#
setTokenType( string $token_type )
The type of the token issued as described in OAuth2.0 RFC6749 (Section 7.1). Value is case insensitive. |
public
string
|
#
getTokenType( )
The type of the token issued as described in OAuth2.0 RFC6749 (Section 7.1). Value is case insensitive. |
public
|
#
setIdToken( string $id_token )
The id_token is a session token assertion that denotes the user's authentication status |
public
string
|
#
getIdToken( )
The id_token is a session token assertion that denotes the user's authentication status |
public
|
|
public
integer
|
|
public static
|
#
createFromAuthorizationCode( array $params, string $clientId = null, string $clientSecret = null,
Creates an Access Token from an Authorization Code. |
public
|
#
createFromRefreshToken( array $params, APIContext $apiContext = null,
Creates an Access Token from an Refresh Token. |
Methods inherited from PayPal\Common\PayPalResourceModel
addLink()
,
executeCall()
,
getLink()
,
getLinks()
,
removeLink()
,
setLinks()
,
updateAccessToken()
Methods inherited from PayPal\Common\PayPalModel
__construct()
,
__get()
,
__isset()
,
__set()
,
__toString()
,
__unset()
,
fromArray()
,
fromJson()
,
getList()
,
setCredential()
,
toArray()
,
toJSON()