Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class FetchAccessTokenResponse.
Message for responding to getting an OAuth access token.
Generated from protobuf message google.cloud.developerconnect.v1.FetchAccessTokenResponse
Namespace
Google \ Cloud \ DeveloperConnect \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ token
string
The token content.
↳ expiration_time
↳ scopes
array
The scopes of the access token.
↳ exchange_error
getToken
The token content.
string
setToken
The token content.
var
string
$this
getExpirationTime
Expiration timestamp. Can be empty if unknown or non-expiring.
hasExpirationTime
clearExpirationTime
setExpirationTime
Expiration timestamp. Can be empty if unknown or non-expiring.
$this
getScopes
The scopes of the access token.
setScopes
The scopes of the access token.
var
string[]
$this
getExchangeError
The error resulted from exchanging OAuth tokens from the service provider.
hasExchangeError
clearExchangeError
setExchangeError
The error resulted from exchanging OAuth tokens from the service provider.
$this