|
| __construct ( $serviceAccountName, $scopes, $privateKey, $privateKeyPassword='notasecret', $assertionType='http://oauth.net/grant_type/jwt/1.0/bearer', $sub=false, $useCache=true) |
|
| generateAssertion () |
|
| getCacheKey () |
| Generate a unique key to represent this credential.
|
|
|
| $assertionType |
|
| $privateKey |
|
| $privateKeyPassword |
|
| $prn |
|
| $scopes |
|
| $serviceAccountName |
|
| $sub |
|
const | MAX_TOKEN_LIFETIME_SECS = 3600 |
|
◆ __construct()
Google_Auth_AssertionCredentials::__construct |
( |
| $serviceAccountName, |
|
|
| $scopes, |
|
|
| $privateKey, |
|
|
| $privateKeyPassword = 'notasecret', |
|
|
| $assertionType = 'http://oauth.net/grant_type/jwt/1.0/bearer', |
|
|
| $sub = false, |
|
|
| $useCache = true ) |
- Parameters
-
| $serviceAccountName | |
| $scopes | array List of scopes |
| $privateKey | |
string | $privateKeyPassword | |
string | $assertionType | |
bool | string | $sub | The email address of the user for which the application is requesting delegated access. |
| bool | useCache Whether to generate a cache key and allow automatic caching of the generated token. |
◆ getCacheKey()
Google_Auth_AssertionCredentials::getCacheKey |
( |
| ) |
|
Generate a unique key to represent this credential.
- Return values
-
◆ $prn
Google_Auth_AssertionCredentials::$prn |
The documentation for this class was generated from the following file:
- lib/google/src/Google/Auth/AssertionCredentials.php