\Hazaar\Google
OAuth
Summary
Methods Properties Constants
No constants
Properties
Static
$api_key
$api_key
Static
$client_id
$client_id
Static
$client_secret
$client_secret
$params
$params
Static
$redirect_uri
$redirect_uri
$scope
$scope
$session
$session
Methods
__construct()
__construct($scope = null)

Parameters

$scope

No description

authenticate()
authenticate($force_approval = false)

Parameters

$force_approval

No description

authenticated()
authenticated()
exchange()
exchange($code, $client_id = null, $client_secret = null)

Parameters

$code

No description

$client_id

No description

$client_secret

No description

getToken()
getToken()
redirectUri()
redirectUri($uri)

Parameters

$uri

No description

reset()
reset()
setClientId()
setClientId($client_id)

Parameters

$client_id

No description

setClientSecret()
setClientSecret($client_secret)

Parameters

$client_secret

No description