GoogleSecretsToken
extends TokenStorage
Table of Contents
Constants
-
ACCESS_TOKEN
= 'BLACKBAUD_API_TOKEN'
Properties
-
$oauth2
: BlackbaudSKY
-
$secrets
: Cache
Methods
-
__construct()
: mixed
-
getToken()
: AccessTokenInterface|null
-
setToken()
: bool
ACCESS_TOKEN
private
mixed
ACCESS_TOKEN
= 'BLACKBAUD_API_TOKEN'
$oauth2
private
BlackbaudSKY
$oauth2
$secrets
private
Cache
$secrets
__construct()
public
__construct(string|null|Cache $projectId, BlackbaudSKY $oauth2) : mixed
Parameters
-
$projectId
: string|null|Cache
-
-
$oauth2
: BlackbaudSKY
-
getToken()
public
getToken() : AccessTokenInterface|null
Return values
AccessTokenInterface|null
setToken()
public
setToken(AccessTokenInterface $token) : bool
Parameters
-
$token
: AccessTokenInterface
-