authlete 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c4bc0a21da39fb94266eff44862e6a1b2dc7b5e6
4
- data.tar.gz: b2169c4bf562492b11edadea9a00b1841e7ed5a2
3
+ metadata.gz: 82936474309206c929f213e650c466e8b3b5e9fd
4
+ data.tar.gz: 3e99cc8e876bbb5b27f558d4d56d2e9b7b53663d
5
5
  SHA512:
6
- metadata.gz: e70219e541ceac628f810e297f3b458a9c617fd5b4206707de1ad96ce3517d4fa67d892e506ff2f1024c708cf276af16a1eb7e860792f2cce514e9b9486fcc05
7
- data.tar.gz: 502e74de96cf12d92a228f984d67edec838e8b6609c61aa9d485bd779329c8088953e485a46a85e7b5c67dc526bd168ca667c359d2ff06f116b05c5724dd0157
6
+ metadata.gz: 22c790f2fb9243ca50114a02fe77a4ca5c2ced9c7d40e9c85b85a25802bb36ca0e2fa1b2c7cc3c034ad93d8cf2549d350b741cf6935ca1db18f8ad114481114d
7
+ data.tar.gz: 1003c046225523684c56be97c1667bebdf55ace7cb32fa8127651272c3a203b58ebb9fce5ab47338c570d223f081672871d80ed0a83062c4dc323d14b262081d
@@ -41,7 +41,7 @@ module Authlete
41
41
  def initialize(hash = {})
42
42
  super(hash)
43
43
 
44
- @action = extract_value(hash, :action)
44
+ @action = extract_value(hash, :action)
45
45
  @responseContent = extract_value(hash, :responseContent)
46
46
  end
47
47
  end
@@ -181,6 +181,13 @@ module Authlete
181
181
  alias_method :refresh_token_duration, :refreshTokenDuration
182
182
  alias_method :refresh_token_duration=, :refreshTokenDuration=
183
183
 
184
+ # The flag to indicate whether a refresh token remains unchanged
185
+ # or gets renewed after its use.
186
+ # (Boolean)
187
+ attr_accessor :refreshTokenKept
188
+ alias_method :refresh_token_kept, :refreshTokenKept
189
+ alias_method :refresh_token_kept=, :refreshTokenKept=
190
+
184
191
  # The URI of the registration endpoint. (URI)
185
192
  attr_accessor :registrationEndpoint
186
193
  alias_method :registration_endpoint, :registrationEndpoint
@@ -317,7 +324,8 @@ module Authlete
317
324
  # Boolean attributes.
318
325
  BOOLEAN_ATTRIBUTES = ::Set.new([
319
326
  :directAuthorizationEndpointEnabled, :directJwksEndpointEnabled, :directRevocationEndpointEnabled,
320
- :directTokenEndpointEnabled, :directUserInfoEndpointEnabled, :pkceRequired, :singleAccessTokenPerSubject
327
+ :directTokenEndpointEnabled, :directUserInfoEndpointEnabled, :pkceRequired, :refreshTokenKept,
328
+ :singleAccessTokenPerSubject
321
329
  ])
322
330
 
323
331
  # String attributes.
@@ -365,6 +373,7 @@ module Authlete
365
373
  :pkce_required => :pkceRequired,
366
374
  :policy_uri => :policyUri,
367
375
  :refresh_token_duration => :refreshTokenDuration,
376
+ :refresh_token_kept => :refreshTokenKept,
368
377
  :registration_endpoint => :registrationEndpoint,
369
378
  :revocation_endpoint => :revocationEndpoint,
370
379
  :service_documentation => :serviceDocumentation,
@@ -16,5 +16,5 @@
16
16
 
17
17
 
18
18
  module Authlete
19
- VERSION = "0.4.0"
19
+ VERSION = "0.4.1"
20
20
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authlete
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takahiko Kawasaki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-29 00:00:00.000000000 Z
11
+ date: 2016-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -122,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  version: '0'
123
123
  requirements: []
124
124
  rubyforge_project:
125
- rubygems_version: 2.4.5.1
125
+ rubygems_version: 2.4.6
126
126
  signing_key:
127
127
  specification_version: 4
128
128
  summary: A library for Authlete Web APIs