Documentation

BaseAuthUnitTest extends TestCase
in package

Tags
psalm-suppress

PropertyNotSetInConstructor

Table of Contents

authDataProvider()  : array<string|int, mixed>
Testing data provider
testAuth()  : void
Testing 'auth' method
testAuthFalse()  : void
Testing 'auth' method when not all data is passed correctly
testConstructor()  : void
Testing constructor
testDispatchUserInfo()  : void
Testing 'dispatchUserInfo' method
testGetDesiredFields()  : void
Testing getDesiredFields
testGetLink()  : void
Testing getLink
testGetLinkException()  : void
Testing getLink exception
testGetTokenParams()  : void
Testing getTokenParams method
testGetTokenUri()  : void
Testing getTokenUri
testGetUserInfoUri()  : void
Testing getUserInfoUri
getSettings()  : array<string|int, mixed>
Method returns fake settings

Methods

authDataProvider()

Testing data provider

public authDataProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>

testing data

testAuth()

Testing 'auth' method

public testAuth() : void
Return values
void

testAuthFalse()

Testing 'auth' method when not all data is passed correctly

public testAuthFalse(array<string|int, mixed> $settings, string $code) : void
Parameters
$settings : array<string|int, mixed>

settings

$code : string

access code

Tags
dataProvider

authDataProvider

Return values
void

testConstructor()

Testing constructor

public testConstructor() : void
Return values
void

testDispatchUserInfo()

Testing 'dispatchUserInfo' method

public testDispatchUserInfo() : void
Return values
void

testGetDesiredFields()

Testing getDesiredFields

public testGetDesiredFields() : void
Return values
void

Testing getLink

public testGetLink() : void
Return values
void

testGetLinkException()

Testing getLink exception

public testGetLinkException() : void
Return values
void

testGetTokenParams()

Testing getTokenParams method

public testGetTokenParams() : void
Return values
void

testGetTokenUri()

Testing getTokenUri

public testGetTokenUri() : void
Return values
void

testGetUserInfoUri()

Testing getUserInfoUri

public testGetUserInfoUri() : void
Return values
void

getSettings()

Method returns fake settings

protected getSettings() : array<string|int, mixed>
Return values
array<string|int, mixed>

fake settings

Search results