Sha256: f8bdb131135aafdd3f939b86b0dcbeb286dacc5afdba16fb1ed2134b79a2295e

Contents?: true

Size: 1.49 KB

Versions: 51

Compression:

Stored size: 1.49 KB

Contents

# OpenapiClient::TokenRequest

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **client_id** | **String** | The client ID you received when you first created the application |  |
| **client_secret** | **String** | The client secret. Since there can be multiple `client_secret`s (to allow for rotation of secrets without downtime to your customers), any current `client_secret` is valid  Please email me after signup and I will set both your client secret and redirect_uri (required) when you reach out.  |  |
| **grant_type** | **String** | This is a hardcoded value required by the OAuth 2.1 spec |  |
| **code** | **String** | This is the code you received in the query string |  |
| **redirect_uri** | **String** | Indicates the URI to return the user to after authorization is complete, which is the endpoint on your server to receive the authorization_code.  Must be identical to the redirect URI provided in the original link.  Please email me after signup and I will set both your client secret and redirect_uri (required) when you reach out.  |  |

## Example

```ruby
require 'openapi_client'

instance = OpenapiClient::TokenRequest.new(
  client_id: 00000000-00000000-00000000-00000000,
  client_secret: ffffffff-ffffffff-ffffffff-ffffffff,
  grant_type: authorization_code,
  code: Y2xpZW50IzkzMTU4MGQwLWYwYjctNGJiOC1iYmZmLWI4MTNlYzMxNTVjYXxjb2RlIzE1MmIwYjk3LTg2ZWMtNDZlNC1hZDUyLWY5ZTAxNzE2MDIwNAo=,
  redirect_uri: https://example.com
)
```

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
affixapi-1.1.102 docs/TokenRequest.md
affixapi-1.1.101 docs/TokenRequest.md
affixapi-1.1.100 docs/TokenRequest.md
affixapi-1.1.99 docs/TokenRequest.md
affixapi-1.1.94 docs/TokenRequest.md
affixapi-1.1.93 docs/TokenRequest.md
affixapi-1.1.92 docs/TokenRequest.md
affixapi-1.1.91 docs/TokenRequest.md
affixapi-1.1.90 docs/TokenRequest.md
affixapi-1.1.89 docs/TokenRequest.md
affixapi-1.1.88 docs/TokenRequest.md
affixapi-1.1.87 docs/TokenRequest.md
affixapi-1.1.86 docs/TokenRequest.md
affixapi-1.1.85 docs/TokenRequest.md
affixapi-1.1.84 docs/TokenRequest.md
affixapi-1.1.83 docs/TokenRequest.md
affixapi-1.1.65 docs/TokenRequest.md
affixapi-1.1.64 docs/TokenRequest.md
affixapi-1.1.63 docs/TokenRequest.md
affixapi-1.1.62 docs/TokenRequest.md