Google Cloud Developer Connect V1 Client - Class GoogleOAuthParams (0.6.0)

Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class GoogleOAuthParams.

The params returned by Google OAuth flow redirects.

Generated from protobuf message google.cloud.developerconnect.v1.FinishOAuthRequest.GoogleOAuthParams

Namespace

Google \ Cloud \ DeveloperConnect \ V1 \ FinishOAuthRequest

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ scopes array

Required. The scopes returned by Google OAuth flow.

↳ version_info string

Optional. The version info returned by Google OAuth flow.

↳ ticket string

Required. The ticket to be used for post processing the callback from Google OAuth flow.

getScopes

Required. The scopes returned by Google OAuth flow.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setScopes

Required. The scopes returned by Google OAuth flow.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getVersionInfo

Optional. The version info returned by Google OAuth flow.

Returns
Type Description
string

setVersionInfo

Optional. The version info returned by Google OAuth flow.

Parameter
Name Description
var string
Returns
Type Description
$this

getTicket

Required. The ticket to be used for post processing the callback from Google OAuth flow.

Returns
Type Description
string

setTicket

Required. The ticket to be used for post processing the callback from Google OAuth flow.

Parameter
Name Description
var string
Returns
Type Description
$this