V1
class V1 extends Resource (View source)
The "v1" collection of methods.
Typical usage is:
$stsService = new Google\Service\CloudSecurityToken(...);
$v1 = $stsService->v1;
Methods
Exchanges a credential for a Google OAuth 2.0 access token. The token asserts
an external identity within an identity pool, or it applies a Credential
Access Boundary to a Google access token. Note that workforce pools do not
support Credential Access Boundaries. When you call this method, do not send
the Authorization
HTTP header in the request. This method does not require
the Authorization
header, and using the header can cause the request to
fail. (v1.token)
Details
GoogleIdentityStsV1ExchangeTokenResponse
token(GoogleIdentityStsV1ExchangeTokenRequest $postBody, array $optParams = [])
Exchanges a credential for a Google OAuth 2.0 access token. The token asserts
an external identity within an identity pool, or it applies a Credential
Access Boundary to a Google access token. Note that workforce pools do not
support Credential Access Boundaries. When you call this method, do not send
the Authorization
HTTP header in the request. This method does not require
the Authorization
header, and using the header can cause the request to
fail. (v1.token)