0.6.2 (latest) 0.6.1 0.5.3 0.4.1 0.3.0 0.2.2 0.1.2 Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class OAuthParams.

The params returned by non-Google OAuth 2.0 flow redirect.

Generated from protobuf message `google.cloud.developerconnect.v1.FinishOAuthRequest.OAuthParams`

## Namespace

Google \\ Cloud \\ DeveloperConnect \\ V1 \\ FinishOAuthRequest

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ code` | `string` Required. The code to be used for getting the token from SCM provider. |
| `↳ ticket` | `string` Required. The ticket to be used for post processing the callback from SCM provider. |

### getCode

Required. The code to be used for getting the token from SCM provider.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setCode

Required. The code to be used for getting the token from SCM provider.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getTicket

Required. The ticket to be used for post processing the callback from SCM
provider.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setTicket

Required. The ticket to be used for post processing the callback from SCM
provider.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |