authlete 0.4.6 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5946bc7dbb0ba06ea2937ec8f02a19558dbf30d3
4
- data.tar.gz: fd87e15c4510bbb4475e405641ab9d9df55d9864
3
+ metadata.gz: 91b73a4c6a20b9af75780aeba2f128d436f658c5
4
+ data.tar.gz: cc3fd2c3677c4e44af64398287b7fadaad23aeec
5
5
  SHA512:
6
- metadata.gz: f224028fe78560aabcfe7ddfc3983580c459feb95f3ea0353425049b2106e0c65749597b9f0894f58851a58d9fb18f2b4679932c26e4232e2cbdb99cd37b2139
7
- data.tar.gz: 2831fd073a39e8cbcea3348f4fcccafa56fc8288234c3589ab3d386a7d2c0c73f71d87ba73e77dd5126e5bf65811d5872d69d70c3b629998612156c36da32b4c
6
+ metadata.gz: 1a2de88ae2496d7854cb547d9aae66bb07109c32ac56b6a11ab6bb6ba77d7ef87a4104fc6ed75a149519729d80c02269060e2592e796d06a336388a85d0fbca8
7
+ data.tar.gz: 143d589841476dce7e3c1c09cd323a6f85c254f461a4712a3b34e0ada91b50f3c1bf27df0d6acbbbf5e7cfe35336ac76bd96797497b783c8c6f3e787c1a47f89
@@ -39,6 +39,17 @@ module Authlete
39
39
  alias_method :client_id, :clientId
40
40
  alias_method :client_id=, :clientId=
41
41
 
42
+ # Alias of client ID. (String)
43
+ attr_accessor :clientIdAlias
44
+ alias_method :client_id_alias, :clientIdAlias
45
+ alias_method :client_id_alias=, :clientIdAlias=
46
+
47
+ # The flag which indicates whether the 'Client ID Alias' feature
48
+ # is enabled or not. (Boolean)
49
+ attr_accessor :clientIdAliasEnabled
50
+ alias_method :client_id_alias_enabled, :clientIdAliasEnabled
51
+ alias_method :client_id_alias_enabled=, :clientIdAliasEnabled=
52
+
42
53
  # The client secret. (String)
43
54
  attr_accessor :clientSecret
44
55
  alias_method :client_secret, :clientSecret
@@ -271,16 +282,18 @@ module Authlete
271
282
  ])
272
283
 
273
284
  # Boolean attributes.
274
- BOOLEAN_ATTRIBUTES = ::Set.new([ :authTimeRequired ])
285
+ BOOLEAN_ATTRIBUTES = ::Set.new([
286
+ :authTimeRequired, :clientIdAliasEnabled
287
+ ])
275
288
 
276
289
  # String attributes.
277
290
  STRING_ATTRIBUTES = ::Set.new([
278
291
  :developer, :clientSecret, :clientType, :responseTypes, :applicationType,
279
- :clientName, :logoUri, :clientUri, :policyUri, :tosUri, :jwksUri, :jwks,
280
- :sectorIdentifier, :subjectType, :idTokenSignAlg, :idTokenEncryptionAlg,
281
- :idTokenEncryptionEnc, :userInfoSignAlg, :userInfoEncryptionAlg, :userInfoEncryptionEnc,
282
- :requestSignAlg, :requestEncryptionAlg, :requestEncryptionEnc, :tokenAuthMethod,
283
- :tokenAuthSignAlg, :loginUri, :description
292
+ :clientIdAlias, :clientName, :logoUri, :clientUri, :policyUri, :tosUri,
293
+ :jwksUri, :jwks, :sectorIdentifier, :subjectType, :idTokenSignAlg,
294
+ :idTokenEncryptionAlg, :idTokenEncryptionEnc, :userInfoSignAlg, :userInfoEncryptionAlg,
295
+ :userInfoEncryptionEnc, :requestSignAlg, :requestEncryptionAlg, :requestEncryptionEnc,
296
+ :tokenAuthMethod, :tokenAuthSignAlg, :loginUri, :description
284
297
  ])
285
298
 
286
299
  # String array attributes.
@@ -297,6 +310,8 @@ module Authlete
297
310
  SNAKE_TO_CAMEL = {
298
311
  :service_number => :serviceNumber,
299
312
  :client_id => :clientId,
313
+ :client_id_alias => :clientIdAlias,
314
+ :client_id_alias_enabled => :clientIdAliasEnabled,
300
315
  :client_secret => :clientSecret,
301
316
  :client_type => :clientType,
302
317
  :redirect_uris => :redirectUris,
@@ -62,8 +62,14 @@ module Authlete
62
62
  alias_method :authorization_endpoint, :authorizationEndpoint
63
63
  alias_method :authorization_endpoint=, :authorizationEndpoint=
64
64
 
65
+ # The flag which indicates whether the 'Client ID Alias' feature
66
+ # is enabled or not. (Boolean)
67
+ attr_accessor :clientIdAliasEnabled
68
+ alias_method :client_id_alias_enabled, :clientIdAliasEnabled
69
+ alias_method :client_id_alias_enabled=, :clientIdAliasEnabled=
70
+
65
71
  # The number of client applications that one developer can create.
66
- # 0 means no limit.
72
+ # 0 means no limit. (Integer)
67
73
  attr_accessor :clientsPerDeveloper
68
74
  alias_method :clients_per_developer, :clientsPerDeveloper
69
75
  alias_method :clients_per_developer=, :clientsPerDeveloper=
@@ -323,9 +329,10 @@ module Authlete
323
329
 
324
330
  # Boolean attributes.
325
331
  BOOLEAN_ATTRIBUTES = ::Set.new([
326
- :directAuthorizationEndpointEnabled, :directJwksEndpointEnabled, :directRevocationEndpointEnabled,
327
- :directTokenEndpointEnabled, :directUserInfoEndpointEnabled, :pkceRequired, :refreshTokenKept,
328
- :singleAccessTokenPerSubject
332
+ :clientIdAliasEnabled, :directAuthorizationEndpointEnabled,
333
+ :directJwksEndpointEnabled, :directRevocationEndpointEnabled,
334
+ :directTokenEndpointEnabled, :directUserInfoEndpointEnabled,
335
+ :pkceRequired, :refreshTokenKept, :singleAccessTokenPerSubject
329
336
  ])
330
337
 
331
338
  # String attributes.
@@ -360,6 +367,7 @@ module Authlete
360
367
  :developer_authentication_callback_api_secret => :developerAuthenticationCallbackApiSecret,
361
368
  :developer_authentication_callback_endpoint => :developerAuthenticationCallbackEndpoint,
362
369
  :developer_sns_credentials => :developerSnsCredentials,
370
+ :client_id_alias_enabled => :clientIdAliasEnabled,
363
371
  :clients_per_developer => :clientsPerDeveloper,
364
372
  :created_at => :createdAt,
365
373
  :direct_authorization_endpoint_enabled => :directAuthorizationEndpointEnabled,
@@ -16,5 +16,5 @@
16
16
 
17
17
 
18
18
  module Authlete
19
- VERSION = "0.4.6"
19
+ VERSION = "0.4.7"
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.6
4
+ version: 0.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takahiko Kawasaki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-17 00:00:00.000000000 Z
11
+ date: 2017-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client