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 +4 -4
- data/lib/authlete/model/client.rb +21 -6
- data/lib/authlete/model/service.rb +12 -4
- data/lib/authlete/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91b73a4c6a20b9af75780aeba2f128d436f658c5
|
4
|
+
data.tar.gz: cc3fd2c3677c4e44af64398287b7fadaad23aeec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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([
|
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,
|
280
|
-
:sectorIdentifier, :subjectType, :idTokenSignAlg,
|
281
|
-
:idTokenEncryptionEnc, :userInfoSignAlg, :userInfoEncryptionAlg,
|
282
|
-
:requestSignAlg, :requestEncryptionAlg, :requestEncryptionEnc,
|
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
|
-
:
|
327
|
-
:
|
328
|
-
:
|
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,
|
data/lib/authlete/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2017-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|