ProjectsServiceAccounts
class ProjectsServiceAccounts extends Resource (View source)
The "serviceAccounts" collection of methods.
Typical usage is:
$iamcredentialsService = new Google\Service\IAMCredentials(...);
$serviceAccounts = $iamcredentialsService->projects_serviceAccounts;
Methods
Generates an OAuth 2.0 access token for a service account.
Generates an OpenID Connect ID token for a service account.
Signs a blob using a service account's system-managed private key.
Signs a JWT using a service account's system-managed private key.
Details
GenerateAccessTokenResponse
generateAccessToken(string $name, GenerateAccessTokenRequest $postBody, array $optParams = [])
Generates an OAuth 2.0 access token for a service account.
(serviceAccounts.generateAccessToken)
GenerateIdTokenResponse
generateIdToken(string $name, GenerateIdTokenRequest $postBody, array $optParams = [])
Generates an OpenID Connect ID token for a service account.
(serviceAccounts.generateIdToken)
SignBlobResponse
signBlob(string $name, SignBlobRequest $postBody, array $optParams = [])
Signs a blob using a service account's system-managed private key.
(serviceAccounts.signBlob)
SignJwtResponse
signJwt(string $name, SignJwtRequest $postBody, array $optParams = [])
Signs a JWT using a service account's system-managed private key.
(serviceAccounts.signJwt)