SessionStorageTest
extends StorageTestAbstract
in package
Tests the `SessionStorage` class
Table of Contents
Constants
- ENCRYPTION_KEY = '000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f'
Properties
- $providerName : string
- $storage : OAuthStorageInterface
- $token : AccessToken
Methods
- testClearAllAccessTokens() : void
- testClearAllCSRFStates() : void
- testClearAllPKCEVerifiers() : void
- testCSRFState() : void
- testGetAccessTokenNotFoundException() : void
- testGetCSRFStateNotFoundException() : void
- testGetPKCEVerifierNotFoundException() : void
- testGetProviderNameEmptyNameException() : void
- testNoEncryptionKeyException() : void
- testPKCEVerifier() : void
- testStoreStateWithNonExistentArray() : void
- testStoreWithExistingToken() : void
- testTAccessToken() : void
- testToStorage() : void
- initOptions() : OAuthOptions
- initStorage() : OAuthStorageInterface
- setUp() : void
Constants
ENCRYPTION_KEY
protected
mixed
ENCRYPTION_KEY
= '000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f'
Properties
$providerName
protected
string
$providerName
= 'testService'
$storage
protected
OAuthStorageInterface
$storage
$token
protected
AccessToken
$token
Methods
testClearAllAccessTokens()
public
testClearAllAccessTokens() : void
testClearAllCSRFStates()
public
testClearAllCSRFStates() : void
testClearAllPKCEVerifiers()
public
testClearAllPKCEVerifiers() : void
testCSRFState()
public
testCSRFState() : void
testGetAccessTokenNotFoundException()
public
testGetAccessTokenNotFoundException() : void
testGetCSRFStateNotFoundException()
public
testGetCSRFStateNotFoundException() : void
testGetPKCEVerifierNotFoundException()
public
testGetPKCEVerifierNotFoundException() : void
testGetProviderNameEmptyNameException()
public
testGetProviderNameEmptyNameException() : void
testNoEncryptionKeyException()
public
testNoEncryptionKeyException() : void
testPKCEVerifier()
public
testPKCEVerifier() : void
testStoreStateWithNonExistentArray()
public
testStoreStateWithNonExistentArray() : void
testStoreWithExistingToken()
public
testStoreWithExistingToken() : void
testTAccessToken()
public
testTAccessToken() : void
testToStorage()
public
testToStorage() : void
initOptions()
protected
initOptions() : OAuthOptions
Return values
OAuthOptionsinitStorage()
protected
initStorage(OAuthOptions $options) : OAuthStorageInterface
Parameters
- $options : OAuthOptions
Return values
OAuthStorageInterfacesetUp()
protected
setUp() : void