PHP Class Webiny\Component\OAuth2\Tests\OAuth2Test

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: Webiny/Framework

Public Methods

Method Description
dataProvider ( )
testConstructor ( $oauth2 )
testGetAccessToken ( $oauth2 )
testGetAccessTokenName ( $oauth2 )
testGetAuthenticationUrl ( $oauth2 )
testGetClientId ( $oauth2 )
testGetClientSecret ( $oauth2 )
testGetConfig ( )
testGetRedirectUri ( $oauth2 )
testRequest ( $oauth2 )
testRequestAccessToken ( $oauth2 )
testSetAccessToken ( $oauth2 )
testSetGetCertificate ( $oauth2 )
testSetGetScope ( $oauth2 )
testSetGetState ( $oauth2 )

Method Details

dataProvider() public method

public dataProvider ( )

testConstructor() public method

public testConstructor ( $oauth2 )
$oauth2 OAuth2

testGetAccessToken() public method

public testGetAccessToken ( $oauth2 )
$oauth2 OAuth2

testGetAccessTokenName() public method

public testGetAccessTokenName ( $oauth2 )
$oauth2 OAuth2

testGetAuthenticationUrl() public method

public testGetAuthenticationUrl ( $oauth2 )
$oauth2 OAuth2

testGetClientId() public method

public testGetClientId ( $oauth2 )
$oauth2 OAuth2

testGetClientSecret() public method

public testGetClientSecret ( $oauth2 )
$oauth2 OAuth2

testGetConfig() public method

public testGetConfig ( )

testGetRedirectUri() public method

public testGetRedirectUri ( $oauth2 )
$oauth2 OAuth2

testRequest() public method

public testRequest ( $oauth2 )
$oauth2 OAuth2

testRequestAccessToken() public method

public testRequestAccessToken ( $oauth2 )
$oauth2 OAuth2

testSetAccessToken() public method

public testSetAccessToken ( $oauth2 )
$oauth2 OAuth2

testSetGetCertificate() public method

public testSetGetCertificate ( $oauth2 )
$oauth2 OAuth2

testSetGetScope() public method

public testSetGetScope ( $oauth2 )
$oauth2 OAuth2

testSetGetState() public method

public testSetGetState ( $oauth2 )
$oauth2 OAuth2