PHP Class EveOnlineOAuthService

Inheritance: extends EOAuth2Service
Show file Open project: nodge/yii-eauth

Protected Properties

Property Type Description
$client_id string
$client_secret string
$jsArguments array
$name string
$providerOptions array
$scope string
$title string
$type string
$uid string | null

Protected Methods

Method Description
fetchAttributes ( )
fetchJsonError ( mixed $json ) : array | null
getAccessToken ( string $code ) : mixed
restoreAccessToken ( ) : boolean
saveAccessToken ( object $token )

Private Methods

Method Description
getAPIData ( integer $charId ) : SimpleXMLElement Get data from EVE API

Method Details

fetchAttributes() protected method

protected fetchAttributes ( )

fetchJsonError() protected method

protected fetchJsonError ( mixed $json ) : array | null
$json mixed
return array | null

getAccessToken() protected method

protected getAccessToken ( string $code ) : mixed
$code string
return mixed

restoreAccessToken() protected method

protected restoreAccessToken ( ) : boolean
return boolean

saveAccessToken() protected method

protected saveAccessToken ( object $token )
$token object

Property Details

$client_id protected property

protected string $client_id
return string

$client_secret protected property

protected string $client_secret
return string

$jsArguments protected property

protected array $jsArguments
return array

$name protected property

protected string $name
return string

$providerOptions protected property

protected array $providerOptions
return array

$scope protected property

protected string $scope
return string

$title protected property

protected string $title
return string

$type protected property

protected string $type
return string

$uid protected property

protected string|null $uid
return string | null