Sha256: 254045bb52c69de97aa9d74ee1db411c0fb6fb162d27dcca0c101c60818c9be4

Contents?: true

Size: 1.11 KB

Versions: 2

Compression:

Stored size: 1.11 KB

Contents

# OryHydraClient::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** | **String** | 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** | **String** | The scope of the access token | [optional] |
| **token_type** | **String** | The type of the token issued | [optional] |

## Example

```ruby
require 'ory-hydra-client'

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ory-hydra-client-2.2.1 docs/OAuth2TokenExchange.md
ory-hydra-client-2.2.0 docs/OAuth2TokenExchange.md