Sha256: 587b936ece07f571d2c248d16bd6e2383adf1b99ef27d32ccd5700327d58469c

Contents?: true

Size: 1.11 KB

Versions: 4

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** | **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** | **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

4 entries across 4 versions & 1 rubygems

Version Path
ory-hydra-client-2.2.0.rc3 docs/OAuth2TokenExchange.md
ory-hydra-client-2.1.1 docs/OAuth2TokenExchange.md
ory-hydra-client-2.1.0 docs/OAuth2TokenExchange.md
ory-hydra-client-2.0.2 docs/OAuth2TokenExchange.md