\OAuth2\StorageJwtAccessToken

Summary

Methods
Properties
Constants
__construct()
getAccessToken()
setAccessToken()
unsetAccessToken()
No public properties found
No constants found
convertJwtToOAuth2()
$publicKeyStorage
$tokenStorage
$encryptionUtil
N/A
No private methods found
No private properties found
N/A

Properties

$publicKeyStorage

$publicKeyStorage : 

Type

$tokenStorage

$tokenStorage : 

Type

$encryptionUtil

$encryptionUtil : 

Type

Methods

__construct()

__construct(\OAuth2\Storage\OAuth2\Encryption\PublicKeyInterface  $publicKeyStorage, \OAuth2\Storage\OAuth2\Storage\AccessTokenInterface  $tokenStorage = null, \OAuth2\Storage\OAuth2\Encryption\EncryptionInterface  $encryptionUtil = null) 

Parameters

\OAuth2\Storage\OAuth2\Encryption\PublicKeyInterface $publicKeyStorage

the public key encryption to use

\OAuth2\Storage\OAuth2\Storage\AccessTokenInterface $tokenStorage

OPTIONAL persist the access token to another storage. This is useful if you want to retain access token grant information somewhere, but is not necessary when using this grant type.

\OAuth2\Storage\OAuth2\Encryption\EncryptionInterface $encryptionUtil

OPTIONAL class to use for "encode" and "decode" functions.

getAccessToken()

getAccessToken(  $oauth_token) 

Parameters

$oauth_token

setAccessToken()

setAccessToken(  $oauth_token,   $client_id,   $user_id,   $expires,   $scope = null) 

Parameters

$oauth_token
$client_id
$user_id
$expires
$scope

unsetAccessToken()

unsetAccessToken(  $access_token) 

Parameters

$access_token

convertJwtToOAuth2()

convertJwtToOAuth2(  $tokenData) 

Parameters

$tokenData