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