ory-hydra-client 1.9.0.alpha1 → 1.9.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/AcceptConsentRequest.md +18 -17
  4. data/docs/AcceptLoginRequest.md +18 -17
  5. data/docs/AdminApi.md +816 -304
  6. data/docs/CompletedRequest.md +8 -7
  7. data/docs/ConsentRequest.md +30 -29
  8. data/docs/ConsentRequestSession.md +10 -9
  9. data/docs/ContainerWaitOKBodyError.md +8 -7
  10. data/docs/FlushInactiveOAuth2TokensRequest.md +8 -7
  11. data/docs/GenericError.md +14 -13
  12. data/docs/HealthNotReadyStatus.md +8 -7
  13. data/docs/HealthStatus.md +8 -7
  14. data/docs/JSONWebKey.md +40 -39
  15. data/docs/JSONWebKeySet.md +8 -7
  16. data/docs/JsonWebKeySetGeneratorRequest.md +12 -11
  17. data/docs/LoginRequest.md +24 -23
  18. data/docs/LogoutRequest.md +14 -13
  19. data/docs/OAuth2Client.md +72 -71
  20. data/docs/OAuth2TokenIntrospection.md +34 -31
  21. data/docs/Oauth2TokenResponse.md +18 -17
  22. data/docs/OpenIDConnectContext.md +16 -15
  23. data/docs/PluginConfig.md +38 -37
  24. data/docs/PluginConfigArgs.md +14 -13
  25. data/docs/PluginConfigInterface.md +10 -9
  26. data/docs/PluginConfigLinux.md +12 -11
  27. data/docs/PluginConfigNetwork.md +8 -7
  28. data/docs/PluginConfigRootfs.md +10 -9
  29. data/docs/PluginConfigUser.md +10 -9
  30. data/docs/PluginDevice.md +14 -13
  31. data/docs/PluginEnv.md +14 -13
  32. data/docs/PluginInterfaceType.md +12 -11
  33. data/docs/PluginMount.md +20 -19
  34. data/docs/PluginSettings.md +14 -13
  35. data/docs/PreviousConsentSession.md +20 -19
  36. data/docs/PublicApi.md +201 -60
  37. data/docs/RejectRequest.md +16 -15
  38. data/docs/UserinfoResponse.md +44 -43
  39. data/docs/Version.md +8 -7
  40. data/docs/VolumeUsageData.md +10 -9
  41. data/docs/WellKnown.md +58 -55
  42. data/lib/ory-hydra-client.rb +2 -2
  43. data/lib/ory-hydra-client/api/admin_api.rb +126 -96
  44. data/lib/ory-hydra-client/api/public_api.rb +34 -26
  45. data/lib/ory-hydra-client/api_client.rb +50 -48
  46. data/lib/ory-hydra-client/api_error.rb +2 -2
  47. data/lib/ory-hydra-client/configuration.rb +34 -7
  48. data/lib/ory-hydra-client/models/accept_consent_request.rb +21 -9
  49. data/lib/ory-hydra-client/models/accept_login_request.rb +20 -8
  50. data/lib/ory-hydra-client/models/completed_request.rb +20 -8
  51. data/lib/ory-hydra-client/models/consent_request.rb +20 -8
  52. data/lib/ory-hydra-client/models/consent_request_session.rb +20 -8
  53. data/lib/ory-hydra-client/models/container_wait_ok_body_error.rb +20 -8
  54. data/lib/ory-hydra-client/models/flush_inactive_o_auth2_tokens_request.rb +21 -9
  55. data/lib/ory-hydra-client/models/generic_error.rb +20 -8
  56. data/lib/ory-hydra-client/models/health_not_ready_status.rb +20 -8
  57. data/lib/ory-hydra-client/models/health_status.rb +20 -8
  58. data/lib/ory-hydra-client/models/json_web_key.rb +20 -8
  59. data/lib/ory-hydra-client/models/json_web_key_set.rb +20 -8
  60. data/lib/ory-hydra-client/models/json_web_key_set_generator_request.rb +20 -8
  61. data/lib/ory-hydra-client/models/login_request.rb +20 -8
  62. data/lib/ory-hydra-client/models/logout_request.rb +20 -8
  63. data/lib/ory-hydra-client/models/o_auth2_client.rb +22 -10
  64. data/lib/ory-hydra-client/models/o_auth2_token_introspection.rb +32 -10
  65. data/lib/ory-hydra-client/models/oauth2_token_response.rb +20 -8
  66. data/lib/ory-hydra-client/models/open_id_connect_context.rb +20 -8
  67. data/lib/ory-hydra-client/models/plugin_config.rb +20 -8
  68. data/lib/ory-hydra-client/models/plugin_config_args.rb +20 -8
  69. data/lib/ory-hydra-client/models/plugin_config_interface.rb +20 -8
  70. data/lib/ory-hydra-client/models/plugin_config_linux.rb +20 -8
  71. data/lib/ory-hydra-client/models/plugin_config_network.rb +20 -8
  72. data/lib/ory-hydra-client/models/plugin_config_rootfs.rb +20 -8
  73. data/lib/ory-hydra-client/models/plugin_config_user.rb +20 -8
  74. data/lib/ory-hydra-client/models/plugin_device.rb +20 -8
  75. data/lib/ory-hydra-client/models/plugin_env.rb +20 -8
  76. data/lib/ory-hydra-client/models/plugin_interface_type.rb +20 -8
  77. data/lib/ory-hydra-client/models/plugin_mount.rb +20 -8
  78. data/lib/ory-hydra-client/models/plugin_settings.rb +20 -8
  79. data/lib/ory-hydra-client/models/previous_consent_session.rb +21 -9
  80. data/lib/ory-hydra-client/models/reject_request.rb +20 -8
  81. data/lib/ory-hydra-client/models/userinfo_response.rb +20 -8
  82. data/lib/ory-hydra-client/models/version.rb +20 -8
  83. data/lib/ory-hydra-client/models/volume_usage_data.rb +20 -8
  84. data/lib/ory-hydra-client/models/well_known.rb +33 -9
  85. data/lib/ory-hydra-client/version.rb +3 -3
  86. data/ory-hydra-client.gemspec +4 -5
  87. data/spec/api_client_spec.rb +3 -3
  88. data/spec/configuration_spec.rb +2 -2
  89. data/spec/spec_helper.rb +2 -2
  90. metadata +30 -50
@@ -2,22 +2,23 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **request_url** | **String** | RequestURL is the original Logout URL requested. | [optional]
8
- **rp_initiated** | **Boolean** | RPInitiated is set to true if the request was initiated by a Relying Party (RP), also known as an OAuth 2.0 Client. | [optional]
9
- **sid** | **String** | SessionID is the login session ID that was requested to log out. | [optional]
10
- **subject** | **String** | Subject is the user for whom the logout was request. | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **request_url** | **String** | RequestURL is the original Logout URL requested. | [optional] |
8
+ | **rp_initiated** | **Boolean** | RPInitiated is set to true if the request was initiated by a Relying Party (RP), also known as an OAuth 2.0 Client. | [optional] |
9
+ | **sid** | **String** | SessionID is the login session ID that was requested to log out. | [optional] |
10
+ | **subject** | **String** | Subject is the user for whom the logout was request. | [optional] |
11
11
 
12
- ## Code Sample
12
+ ## Example
13
13
 
14
14
  ```ruby
15
- require 'OryHydraClient'
15
+ require 'ory-hydra-client'
16
16
 
17
- instance = OryHydraClient::LogoutRequest.new(request_url: null,
18
- rp_initiated: null,
19
- sid: null,
20
- subject: null)
17
+ instance = OryHydraClient::LogoutRequest.new(
18
+ request_url: null,
19
+ rp_initiated: null,
20
+ sid: null,
21
+ subject: null
22
+ )
21
23
  ```
22
24
 
23
-
@@ -2,80 +2,81 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **allowed_cors_origins** | **Array<String>** | | [optional]
8
- **audience** | **Array<String>** | | [optional]
9
- **backchannel_logout_session_required** | **Boolean** | Boolean value specifying whether the RP requires that a sid (session ID) Claim be included in the Logout Token to identify the RP session with the OP when the backchannel_logout_uri is used. If omitted, the default value is false. | [optional]
10
- **backchannel_logout_uri** | **String** | RP URL that will cause the RP to log itself out when sent a Logout Token by the OP. | [optional]
11
- **client_id** | **String** | ID is the id for this client. | [optional]
12
- **client_name** | **String** | Name is the human-readable string name of the client to be presented to the end-user during authorization. | [optional]
13
- **client_secret** | **String** | Secret is the client's secret. The secret will be included in the create request as cleartext, and then never again. The secret is stored using BCrypt so it is impossible to recover it. Tell your users that they need to write the secret down as it will not be made available again. | [optional]
14
- **client_secret_expires_at** | **Integer** | SecretExpiresAt is an integer holding the time at which the client secret will expire or 0 if it will not expire. The time is represented as the number of seconds from 1970-01-01T00:00:00Z as measured in UTC until the date/time of expiration. This feature is currently not supported and it's value will always be set to 0. | [optional]
15
- **client_uri** | **String** | ClientURI is an URL string of a web page providing information about the client. If present, the server SHOULD display this URL to the end-user in a clickable fashion. | [optional]
16
- **contacts** | **Array<String>** | | [optional]
17
- **created_at** | **DateTime** | CreatedAt returns the timestamp of the client's creation. | [optional]
18
- **frontchannel_logout_session_required** | **Boolean** | Boolean value specifying whether the RP requires that iss (issuer) and sid (session ID) query parameters be included to identify the RP session with the OP when the frontchannel_logout_uri is used. If omitted, the default value is false. | [optional]
19
- **frontchannel_logout_uri** | **String** | RP URL that will cause the RP to log itself out when rendered in an iframe by the OP. An iss (issuer) query parameter and a sid (session ID) query parameter MAY be included by the OP to enable the RP to validate the request and to determine which of the potentially multiple sessions is to be logged out; if either is included, both MUST be. | [optional]
20
- **grant_types** | **Array<String>** | | [optional]
21
- **jwks** | [**Object**](.md) | | [optional]
22
- **jwks_uri** | **String** | URL for the Client's JSON Web Key Set [JWK] document. If the Client signs requests to the Server, it contains the signing key(s) the Server uses to validate signatures from the Client. The JWK Set MAY also contain the Client's encryption keys(s), which are used by the Server to encrypt responses to the Client. When both signing and encryption keys are made available, a use (Key Use) parameter value is REQUIRED for all keys in the referenced JWK Set to indicate each key's intended usage. Although some algorithms allow the same key to be used for both signatures and encryption, doing so is NOT RECOMMENDED, as it is less secure. The JWK x5c parameter MAY be used to provide X.509 representations of keys provided. When used, the bare key values MUST still be present and MUST match those in the certificate. | [optional]
23
- **logo_uri** | **String** | LogoURI is an URL string that references a logo for the client. | [optional]
24
- **metadata** | [**Object**](.md) | | [optional]
25
- **owner** | **String** | Owner is a string identifying the owner of the OAuth 2.0 Client. | [optional]
26
- **policy_uri** | **String** | PolicyURI is a URL string that points to a human-readable privacy policy document that describes how the deployment organization collects, uses, retains, and discloses personal data. | [optional]
27
- **post_logout_redirect_uris** | **Array<String>** | | [optional]
28
- **redirect_uris** | **Array<String>** | | [optional]
29
- **request_object_signing_alg** | **String** | JWS [JWS] alg algorithm [JWA] that MUST be used for signing Request Objects sent to the OP. All Request Objects from this Client MUST be rejected, if not signed with this algorithm. | [optional]
30
- **request_uris** | **Array<String>** | | [optional]
31
- **response_types** | **Array<String>** | | [optional]
32
- **scope** | **String** | Scope is a string containing a space-separated list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749]) that the client can use when requesting access tokens. | [optional]
33
- **sector_identifier_uri** | **String** | URL using the https scheme to be used in calculating Pseudonymous Identifiers by the OP. The URL references a file with a single JSON array of redirect_uri values. | [optional]
34
- **subject_type** | **String** | SubjectType requested for responses to this Client. The subject_types_supported Discovery parameter contains a list of the supported subject_type values for this server. Valid types include `pairwise` and `public`. | [optional]
35
- **token_endpoint_auth_method** | **String** | Requested Client Authentication method for the Token Endpoint. The options are client_secret_post, client_secret_basic, private_key_jwt, and none. | [optional]
36
- **token_endpoint_auth_signing_alg** | **String** | Requested Client Authentication signing algorithm for the Token Endpoint. | [optional]
37
- **tos_uri** | **String** | TermsOfServiceURI is a URL string that points to a human-readable terms of service document for the client that describes a contractual relationship between the end-user and the client that the end-user accepts when authorizing the client. | [optional]
38
- **updated_at** | **DateTime** | UpdatedAt returns the timestamp of the last update. | [optional]
39
- **userinfo_signed_response_alg** | **String** | JWS alg algorithm [JWA] REQUIRED for signing UserInfo Responses. If this is specified, the response will be JWT [JWT] serialized, and signed using JWS. The default, if omitted, is for the UserInfo Response to return the Claims as a UTF-8 encoded JSON object using the application/json content-type. | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **allowed_cors_origins** | **Array<String>** | | [optional] |
8
+ | **audience** | **Array<String>** | | [optional] |
9
+ | **backchannel_logout_session_required** | **Boolean** | Boolean value specifying whether the RP requires that a sid (session ID) Claim be included in the Logout Token to identify the RP session with the OP when the backchannel_logout_uri is used. If omitted, the default value is false. | [optional] |
10
+ | **backchannel_logout_uri** | **String** | RP URL that will cause the RP to log itself out when sent a Logout Token by the OP. | [optional] |
11
+ | **client_id** | **String** | ID is the id for this client. | [optional] |
12
+ | **client_name** | **String** | Name is the human-readable string name of the client to be presented to the end-user during authorization. | [optional] |
13
+ | **client_secret** | **String** | Secret is the client's secret. The secret will be included in the create request as cleartext, and then never again. The secret is stored using BCrypt so it is impossible to recover it. Tell your users that they need to write the secret down as it will not be made available again. | [optional] |
14
+ | **client_secret_expires_at** | **Integer** | SecretExpiresAt is an integer holding the time at which the client secret will expire or 0 if it will not expire. The time is represented as the number of seconds from 1970-01-01T00:00:00Z as measured in UTC until the date/time of expiration. This feature is currently not supported and it's value will always be set to 0. | [optional] |
15
+ | **client_uri** | **String** | ClientURI is an URL string of a web page providing information about the client. If present, the server SHOULD display this URL to the end-user in a clickable fashion. | [optional] |
16
+ | **contacts** | **Array<String>** | | [optional] |
17
+ | **created_at** | **Time** | CreatedAt returns the timestamp of the client's creation. | [optional] |
18
+ | **frontchannel_logout_session_required** | **Boolean** | Boolean value specifying whether the RP requires that iss (issuer) and sid (session ID) query parameters be included to identify the RP session with the OP when the frontchannel_logout_uri is used. If omitted, the default value is false. | [optional] |
19
+ | **frontchannel_logout_uri** | **String** | RP URL that will cause the RP to log itself out when rendered in an iframe by the OP. An iss (issuer) query parameter and a sid (session ID) query parameter MAY be included by the OP to enable the RP to validate the request and to determine which of the potentially multiple sessions is to be logged out; if either is included, both MUST be. | [optional] |
20
+ | **grant_types** | **Array<String>** | | [optional] |
21
+ | **jwks** | **Object** | | [optional] |
22
+ | **jwks_uri** | **String** | URL for the Client's JSON Web Key Set [JWK] document. If the Client signs requests to the Server, it contains the signing key(s) the Server uses to validate signatures from the Client. The JWK Set MAY also contain the Client's encryption keys(s), which are used by the Server to encrypt responses to the Client. When both signing and encryption keys are made available, a use (Key Use) parameter value is REQUIRED for all keys in the referenced JWK Set to indicate each key's intended usage. Although some algorithms allow the same key to be used for both signatures and encryption, doing so is NOT RECOMMENDED, as it is less secure. The JWK x5c parameter MAY be used to provide X.509 representations of keys provided. When used, the bare key values MUST still be present and MUST match those in the certificate. | [optional] |
23
+ | **logo_uri** | **String** | LogoURI is an URL string that references a logo for the client. | [optional] |
24
+ | **metadata** | **Object** | | [optional] |
25
+ | **owner** | **String** | Owner is a string identifying the owner of the OAuth 2.0 Client. | [optional] |
26
+ | **policy_uri** | **String** | PolicyURI is a URL string that points to a human-readable privacy policy document that describes how the deployment organization collects, uses, retains, and discloses personal data. | [optional] |
27
+ | **post_logout_redirect_uris** | **Array<String>** | | [optional] |
28
+ | **redirect_uris** | **Array<String>** | | [optional] |
29
+ | **request_object_signing_alg** | **String** | JWS [JWS] alg algorithm [JWA] that MUST be used for signing Request Objects sent to the OP. All Request Objects from this Client MUST be rejected, if not signed with this algorithm. | [optional] |
30
+ | **request_uris** | **Array<String>** | | [optional] |
31
+ | **response_types** | **Array<String>** | | [optional] |
32
+ | **scope** | **String** | Scope is a string containing a space-separated list of scope values (as described in Section 3.3 of OAuth 2.0 [RFC6749]) that the client can use when requesting access tokens. | [optional] |
33
+ | **sector_identifier_uri** | **String** | URL using the https scheme to be used in calculating Pseudonymous Identifiers by the OP. The URL references a file with a single JSON array of redirect_uri values. | [optional] |
34
+ | **subject_type** | **String** | SubjectType requested for responses to this Client. The subject_types_supported Discovery parameter contains a list of the supported subject_type values for this server. Valid types include `pairwise` and `public`. | [optional] |
35
+ | **token_endpoint_auth_method** | **String** | Requested Client Authentication method for the Token Endpoint. The options are client_secret_post, client_secret_basic, private_key_jwt, and none. | [optional] |
36
+ | **token_endpoint_auth_signing_alg** | **String** | Requested Client Authentication signing algorithm for the Token Endpoint. | [optional] |
37
+ | **tos_uri** | **String** | TermsOfServiceURI is a URL string that points to a human-readable terms of service document for the client that describes a contractual relationship between the end-user and the client that the end-user accepts when authorizing the client. | [optional] |
38
+ | **updated_at** | **Time** | UpdatedAt returns the timestamp of the last update. | [optional] |
39
+ | **userinfo_signed_response_alg** | **String** | JWS alg algorithm [JWA] REQUIRED for signing UserInfo Responses. If this is specified, the response will be JWT [JWT] serialized, and signed using JWS. The default, if omitted, is for the UserInfo Response to return the Claims as a UTF-8 encoded JSON object using the application/json content-type. | [optional] |
40
40
 
41
- ## Code Sample
41
+ ## Example
42
42
 
43
43
  ```ruby
44
- require 'OryHydraClient'
44
+ require 'ory-hydra-client'
45
45
 
46
- instance = OryHydraClient::OAuth2Client.new(allowed_cors_origins: null,
47
- audience: null,
48
- backchannel_logout_session_required: null,
49
- backchannel_logout_uri: null,
50
- client_id: null,
51
- client_name: null,
52
- client_secret: null,
53
- client_secret_expires_at: null,
54
- client_uri: null,
55
- contacts: null,
56
- created_at: null,
57
- frontchannel_logout_session_required: null,
58
- frontchannel_logout_uri: null,
59
- grant_types: null,
60
- jwks: null,
61
- jwks_uri: null,
62
- logo_uri: null,
63
- metadata: null,
64
- owner: null,
65
- policy_uri: null,
66
- post_logout_redirect_uris: null,
67
- redirect_uris: null,
68
- request_object_signing_alg: null,
69
- request_uris: null,
70
- response_types: null,
71
- scope: null,
72
- sector_identifier_uri: null,
73
- subject_type: null,
74
- token_endpoint_auth_method: null,
75
- token_endpoint_auth_signing_alg: null,
76
- tos_uri: null,
77
- updated_at: null,
78
- userinfo_signed_response_alg: null)
46
+ instance = OryHydraClient::OAuth2Client.new(
47
+ allowed_cors_origins: null,
48
+ audience: null,
49
+ backchannel_logout_session_required: null,
50
+ backchannel_logout_uri: null,
51
+ client_id: null,
52
+ client_name: null,
53
+ client_secret: null,
54
+ client_secret_expires_at: null,
55
+ client_uri: null,
56
+ contacts: null,
57
+ created_at: null,
58
+ frontchannel_logout_session_required: null,
59
+ frontchannel_logout_uri: null,
60
+ grant_types: null,
61
+ jwks: null,
62
+ jwks_uri: null,
63
+ logo_uri: null,
64
+ metadata: null,
65
+ owner: null,
66
+ policy_uri: null,
67
+ post_logout_redirect_uris: null,
68
+ redirect_uris: null,
69
+ request_object_signing_alg: null,
70
+ request_uris: null,
71
+ response_types: null,
72
+ scope: null,
73
+ sector_identifier_uri: null,
74
+ subject_type: null,
75
+ token_endpoint_auth_method: null,
76
+ token_endpoint_auth_signing_alg: null,
77
+ tos_uri: null,
78
+ updated_at: null,
79
+ userinfo_signed_response_alg: null
80
+ )
79
81
  ```
80
82
 
81
-
@@ -2,40 +2,43 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **active** | **Boolean** | Active is a boolean indicator of whether or not the presented token is currently active. The specifics of a token's \"active\" state will vary depending on the implementation of the authorization server and the information it keeps about its tokens, but a \"true\" value return for the \"active\" property will generally indicate that a given token has been issued by this authorization server, has not been revoked by the resource owner, and is within its given time window of validity (e.g., after its issuance time and before its expiration time). |
8
- **aud** | **Array<String>** | Audience contains a list of the token's intended audiences. | [optional]
9
- **client_id** | **String** | ID is aclient identifier for the OAuth 2.0 client that requested this token. | [optional]
10
- **exp** | **Integer** | Expires at is an integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token will expire. | [optional]
11
- **ext** | [**Object**](.md) | Extra is arbitrary data set by the session. | [optional]
12
- **iat** | **Integer** | Issued at is an integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token was originally issued. | [optional]
13
- **iss** | **String** | IssuerURL is a string representing the issuer of this token | [optional]
14
- **nbf** | **Integer** | NotBefore is an integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token is not to be used before. | [optional]
15
- **obfuscated_subject** | **String** | ObfuscatedSubject is set when the subject identifier algorithm was set to \"pairwise\" during authorization. It is the `sub` value of the ID Token that was issued. | [optional]
16
- **scope** | **String** | Scope is a JSON string containing a space-separated list of scopes associated with this token. | [optional]
17
- **sub** | **String** | Subject of the token, as defined in JWT [RFC7519]. Usually a machine-readable identifier of the resource owner who authorized this token. | [optional]
18
- **token_type** | **String** | TokenType is the introspected token's type, for example `access_token` or `refresh_token`. | [optional]
19
- **username** | **String** | Username is a human-readable identifier for the resource owner who authorized this token. | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **active** | **Boolean** | Active is a boolean indicator of whether or not the presented token is currently active. The specifics of a token's \"active\" state will vary depending on the implementation of the authorization server and the information it keeps about its tokens, but a \"true\" value return for the \"active\" property will generally indicate that a given token has been issued by this authorization server, has not been revoked by the resource owner, and is within its given time window of validity (e.g., after its issuance time and before its expiration time). | |
8
+ | **aud** | **Array<String>** | Audience contains a list of the token's intended audiences. | [optional] |
9
+ | **client_id** | **String** | ID is aclient identifier for the OAuth 2.0 client that requested this token. | [optional] |
10
+ | **exp** | **Integer** | Expires at is an integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token will expire. | [optional] |
11
+ | **ext** | **Object** | Extra is arbitrary data set by the session. | [optional] |
12
+ | **iat** | **Integer** | Issued at is an integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token was originally issued. | [optional] |
13
+ | **iss** | **String** | IssuerURL is a string representing the issuer of this token | [optional] |
14
+ | **nbf** | **Integer** | NotBefore is an integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token is not to be used before. | [optional] |
15
+ | **obfuscated_subject** | **String** | ObfuscatedSubject is set when the subject identifier algorithm was set to \"pairwise\" during authorization. It is the `sub` value of the ID Token that was issued. | [optional] |
16
+ | **scope** | **String** | Scope is a JSON string containing a space-separated list of scopes associated with this token. | [optional] |
17
+ | **sub** | **String** | Subject of the token, as defined in JWT [RFC7519]. Usually a machine-readable identifier of the resource owner who authorized this token. | [optional] |
18
+ | **token_type** | **String** | TokenType is the introspected token's type, typically `Bearer`. | [optional] |
19
+ | **token_use** | **String** | TokenUse is the introspected token's use, for example `access_token` or `refresh_token`. | [optional] |
20
+ | **username** | **String** | Username is a human-readable identifier for the resource owner who authorized this token. | [optional] |
20
21
 
21
- ## Code Sample
22
+ ## Example
22
23
 
23
24
  ```ruby
24
- require 'OryHydraClient'
25
+ require 'ory-hydra-client'
25
26
 
26
- instance = OryHydraClient::OAuth2TokenIntrospection.new(active: null,
27
- aud: null,
28
- client_id: null,
29
- exp: null,
30
- ext: null,
31
- iat: null,
32
- iss: null,
33
- nbf: null,
34
- obfuscated_subject: null,
35
- scope: null,
36
- sub: null,
37
- token_type: null,
38
- username: null)
27
+ instance = OryHydraClient::OAuth2TokenIntrospection.new(
28
+ active: null,
29
+ aud: null,
30
+ client_id: null,
31
+ exp: null,
32
+ ext: null,
33
+ iat: null,
34
+ iss: null,
35
+ nbf: null,
36
+ obfuscated_subject: null,
37
+ scope: null,
38
+ sub: null,
39
+ token_type: null,
40
+ token_use: null,
41
+ username: null
42
+ )
39
43
  ```
40
44
 
41
-
@@ -2,26 +2,27 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **access_token** | **String** | | [optional]
8
- **expires_in** | **Integer** | | [optional]
9
- **id_token** | **String** | | [optional]
10
- **refresh_token** | **String** | | [optional]
11
- **scope** | **String** | | [optional]
12
- **token_type** | **String** | | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **access_token** | **String** | | [optional] |
8
+ | **expires_in** | **Integer** | | [optional] |
9
+ | **id_token** | **String** | | [optional] |
10
+ | **refresh_token** | **String** | | [optional] |
11
+ | **scope** | **String** | | [optional] |
12
+ | **token_type** | **String** | | [optional] |
13
13
 
14
- ## Code Sample
14
+ ## Example
15
15
 
16
16
  ```ruby
17
- require 'OryHydraClient'
17
+ require 'ory-hydra-client'
18
18
 
19
- instance = OryHydraClient::Oauth2TokenResponse.new(access_token: null,
20
- expires_in: null,
21
- id_token: null,
22
- refresh_token: null,
23
- scope: null,
24
- token_type: null)
19
+ instance = OryHydraClient::Oauth2TokenResponse.new(
20
+ access_token: null,
21
+ expires_in: null,
22
+ id_token: null,
23
+ refresh_token: null,
24
+ scope: null,
25
+ token_type: null
26
+ )
25
27
  ```
26
28
 
27
-
@@ -2,24 +2,25 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **acr_values** | **Array<String>** | ACRValues is the Authentication AuthorizationContext Class Reference requested in the OAuth 2.0 Authorization request. It is a parameter defined by OpenID Connect and expresses which level of authentication (e.g. 2FA) is required. OpenID Connect defines it as follows: > Requested Authentication AuthorizationContext Class Reference values. Space-separated string that specifies the acr values that the Authorization Server is being requested to use for processing this Authentication Request, with the values appearing in order of preference. The Authentication AuthorizationContext Class satisfied by the authentication performed is returned as the acr Claim Value, as specified in Section 2. The acr Claim is requested as a Voluntary Claim by this parameter. | [optional]
8
- **display** | **String** | Display is a string value that specifies how the Authorization Server displays the authentication and consent user interface pages to the End-User. The defined values are: page: The Authorization Server SHOULD display the authentication and consent UI consistent with a full User Agent page view. If the display parameter is not specified, this is the default display mode. popup: The Authorization Server SHOULD display the authentication and consent UI consistent with a popup User Agent window. The popup User Agent window should be of an appropriate size for a login-focused dialog and should not obscure the entire window that it is popping up over. touch: The Authorization Server SHOULD display the authentication and consent UI consistent with a device that leverages a touch interface. wap: The Authorization Server SHOULD display the authentication and consent UI consistent with a \"feature phone\" type display. The Authorization Server MAY also attempt to detect the capabilities of the User Agent and present an appropriate display. | [optional]
9
- **id_token_hint_claims** | [**Object**](.md) | IDTokenHintClaims are the claims of the ID Token previously issued by the Authorization Server being passed as a hint about the End-User's current or past authenticated session with the Client. | [optional]
10
- **login_hint** | **String** | LoginHint hints about the login identifier the End-User might use to log in (if necessary). This hint can be used by an RP if it first asks the End-User for their e-mail address (or other identifier) and then wants to pass that value as a hint to the discovered authorization service. This value MAY also be a phone number in the format specified for the phone_number Claim. The use of this parameter is optional. | [optional]
11
- **ui_locales** | **Array<String>** | UILocales is the End-User'id preferred languages and scripts for the user interface, represented as a space-separated list of BCP47 [RFC5646] language tag values, ordered by preference. For instance, the value \"fr-CA fr en\" represents a preference for French as spoken in Canada, then French (without a region designation), followed by English (without a region designation). An error SHOULD NOT result if some or all of the requested locales are not supported by the OpenID Provider. | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **acr_values** | **Array<String>** | ACRValues is the Authentication AuthorizationContext Class Reference requested in the OAuth 2.0 Authorization request. It is a parameter defined by OpenID Connect and expresses which level of authentication (e.g. 2FA) is required. OpenID Connect defines it as follows: > Requested Authentication AuthorizationContext Class Reference values. Space-separated string that specifies the acr values that the Authorization Server is being requested to use for processing this Authentication Request, with the values appearing in order of preference. The Authentication AuthorizationContext Class satisfied by the authentication performed is returned as the acr Claim Value, as specified in Section 2. The acr Claim is requested as a Voluntary Claim by this parameter. | [optional] |
8
+ | **display** | **String** | Display is a string value that specifies how the Authorization Server displays the authentication and consent user interface pages to the End-User. The defined values are: page: The Authorization Server SHOULD display the authentication and consent UI consistent with a full User Agent page view. If the display parameter is not specified, this is the default display mode. popup: The Authorization Server SHOULD display the authentication and consent UI consistent with a popup User Agent window. The popup User Agent window should be of an appropriate size for a login-focused dialog and should not obscure the entire window that it is popping up over. touch: The Authorization Server SHOULD display the authentication and consent UI consistent with a device that leverages a touch interface. wap: The Authorization Server SHOULD display the authentication and consent UI consistent with a \"feature phone\" type display. The Authorization Server MAY also attempt to detect the capabilities of the User Agent and present an appropriate display. | [optional] |
9
+ | **id_token_hint_claims** | **Object** | IDTokenHintClaims are the claims of the ID Token previously issued by the Authorization Server being passed as a hint about the End-User's current or past authenticated session with the Client. | [optional] |
10
+ | **login_hint** | **String** | LoginHint hints about the login identifier the End-User might use to log in (if necessary). This hint can be used by an RP if it first asks the End-User for their e-mail address (or other identifier) and then wants to pass that value as a hint to the discovered authorization service. This value MAY also be a phone number in the format specified for the phone_number Claim. The use of this parameter is optional. | [optional] |
11
+ | **ui_locales** | **Array<String>** | UILocales is the End-User'id preferred languages and scripts for the user interface, represented as a space-separated list of BCP47 [RFC5646] language tag values, ordered by preference. For instance, the value \"fr-CA fr en\" represents a preference for French as spoken in Canada, then French (without a region designation), followed by English (without a region designation). An error SHOULD NOT result if some or all of the requested locales are not supported by the OpenID Provider. | [optional] |
12
12
 
13
- ## Code Sample
13
+ ## Example
14
14
 
15
15
  ```ruby
16
- require 'OryHydraClient'
16
+ require 'ory-hydra-client'
17
17
 
18
- instance = OryHydraClient::OpenIDConnectContext.new(acr_values: null,
19
- display: null,
20
- id_token_hint_claims: null,
21
- login_hint: null,
22
- ui_locales: null)
18
+ instance = OryHydraClient::OpenIDConnectContext.new(
19
+ acr_values: null,
20
+ display: null,
21
+ id_token_hint_claims: null,
22
+ login_hint: null,
23
+ ui_locales: null
24
+ )
23
25
  ```
24
26
 
25
-
@@ -2,46 +2,47 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **args** | [**PluginConfigArgs**](PluginConfigArgs.md) | |
8
- **description** | **String** | description |
9
- **docker_version** | **String** | Docker Version used to create the plugin | [optional]
10
- **documentation** | **String** | documentation |
11
- **entrypoint** | **Array<String>** | entrypoint |
12
- **env** | [**Array<PluginEnv>**](PluginEnv.md) | env |
13
- **interface** | [**PluginConfigInterface**](PluginConfigInterface.md) | |
14
- **ipc_host** | **Boolean** | ipc host |
15
- **linux** | [**PluginConfigLinux**](PluginConfigLinux.md) | |
16
- **mounts** | [**Array<PluginMount>**](PluginMount.md) | mounts |
17
- **network** | [**PluginConfigNetwork**](PluginConfigNetwork.md) | |
18
- **pid_host** | **Boolean** | pid host |
19
- **propagated_mount** | **String** | propagated mount |
20
- **user** | [**PluginConfigUser**](PluginConfigUser.md) | | [optional]
21
- **work_dir** | **String** | work dir |
22
- **rootfs** | [**PluginConfigRootfs**](PluginConfigRootfs.md) | | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **args** | [**PluginConfigArgs**](PluginConfigArgs.md) | | |
8
+ | **description** | **String** | description | |
9
+ | **docker_version** | **String** | Docker Version used to create the plugin | [optional] |
10
+ | **documentation** | **String** | documentation | |
11
+ | **entrypoint** | **Array<String>** | entrypoint | |
12
+ | **env** | [**Array<PluginEnv>**](PluginEnv.md) | env | |
13
+ | **interface** | [**PluginConfigInterface**](PluginConfigInterface.md) | | |
14
+ | **ipc_host** | **Boolean** | ipc host | |
15
+ | **linux** | [**PluginConfigLinux**](PluginConfigLinux.md) | | |
16
+ | **mounts** | [**Array<PluginMount>**](PluginMount.md) | mounts | |
17
+ | **network** | [**PluginConfigNetwork**](PluginConfigNetwork.md) | | |
18
+ | **pid_host** | **Boolean** | pid host | |
19
+ | **propagated_mount** | **String** | propagated mount | |
20
+ | **user** | [**PluginConfigUser**](PluginConfigUser.md) | | [optional] |
21
+ | **work_dir** | **String** | work dir | |
22
+ | **rootfs** | [**PluginConfigRootfs**](PluginConfigRootfs.md) | | [optional] |
23
23
 
24
- ## Code Sample
24
+ ## Example
25
25
 
26
26
  ```ruby
27
- require 'OryHydraClient'
27
+ require 'ory-hydra-client'
28
28
 
29
- instance = OryHydraClient::PluginConfig.new(args: null,
30
- description: null,
31
- docker_version: null,
32
- documentation: null,
33
- entrypoint: null,
34
- env: null,
35
- interface: null,
36
- ipc_host: null,
37
- linux: null,
38
- mounts: null,
39
- network: null,
40
- pid_host: null,
41
- propagated_mount: null,
42
- user: null,
43
- work_dir: null,
44
- rootfs: null)
29
+ instance = OryHydraClient::PluginConfig.new(
30
+ args: null,
31
+ description: null,
32
+ docker_version: null,
33
+ documentation: null,
34
+ entrypoint: null,
35
+ env: null,
36
+ interface: null,
37
+ ipc_host: null,
38
+ linux: null,
39
+ mounts: null,
40
+ network: null,
41
+ pid_host: null,
42
+ propagated_mount: null,
43
+ user: null,
44
+ work_dir: null,
45
+ rootfs: null
46
+ )
45
47
  ```
46
48
 
47
-
@@ -2,22 +2,23 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **description** | **String** | description |
8
- **name** | **String** | name |
9
- **settable** | **Array<String>** | settable |
10
- **value** | **Array<String>** | value |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **description** | **String** | description | |
8
+ | **name** | **String** | name | |
9
+ | **settable** | **Array<String>** | settable | |
10
+ | **value** | **Array<String>** | value | |
11
11
 
12
- ## Code Sample
12
+ ## Example
13
13
 
14
14
  ```ruby
15
- require 'OryHydraClient'
15
+ require 'ory-hydra-client'
16
16
 
17
- instance = OryHydraClient::PluginConfigArgs.new(description: null,
18
- name: null,
19
- settable: null,
20
- value: null)
17
+ instance = OryHydraClient::PluginConfigArgs.new(
18
+ description: null,
19
+ name: null,
20
+ settable: null,
21
+ value: null
22
+ )
21
23
  ```
22
24
 
23
-