Sha256: 594e0cb459258590152b81ae15be651138e2dc5d70991cbdb878e470bf886322

Contents?: true

Size: 1.09 KB

Versions: 5

Compression:

Stored size: 1.09 KB

Contents

# OryClient::OAuth2TokenExchange

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **access_token** | **String** | The access token issued by the authorization server. | [optional] |
| **expires_in** | **Integer** | The lifetime in seconds of the access token. For example, the value \"3600\" denotes that the access token will expire in one hour from the time the response was generated. | [optional] |
| **id_token** | **Integer** | To retrieve a refresh token request the id_token scope. | [optional] |
| **refresh_token** | **String** | The refresh token, which can be used to obtain new access tokens. To retrieve it add the scope \"offline\" to your access token request. | [optional] |
| **scope** | **Integer** | The scope of the access token | [optional] |
| **token_type** | **String** | The type of the token issued | [optional] |

## Example

```ruby
require 'ory-client'

instance = OryClient::OAuth2TokenExchange.new(
  access_token: null,
  expires_in: null,
  id_token: null,
  refresh_token: null,
  scope: null,
  token_type: null
)
```

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ory-client-1.1.0 docs/OAuth2TokenExchange.md
ory-client-1.0.2 docs/OAuth2TokenExchange.md
ory-client-1.0.1 docs/OAuth2TokenExchange.md
ory-client-1.0.0 docs/OAuth2TokenExchange.md
ory-client-1.0.0.alpha0 docs/OAuth2TokenExchange.md