authlete 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/lib/authlete/model/service.rb +54 -35
- data/lib/authlete/version.rb +1 -1
- metadata +2 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9eebbe1dbd1b81cb3acccd34c5d443477d83261
|
4
|
+
data.tar.gz: 8934d99069e18a80605e8568b443d0f6d97e08cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e8c4d385bbfa81dc02b920e35666203547af745a7fb087369b68afb7af464b5d5923b421a2ef9216834017e256e986476e5c8bd93528a6314ac46cbb51ac1b0
|
7
|
+
data.tar.gz: f17bbab7957bad25c342be5cf2d71c58085a53449df19e3c67f688a7e89dec21258fb3a21444d8853fe08e3bdb47947f5e08fc5ebcf4362246a2e37e1848749b
|
data/.gitignore
CHANGED
@@ -69,6 +69,21 @@ module Authlete
|
|
69
69
|
# The description of this service. (String)
|
70
70
|
attr_accessor :description
|
71
71
|
|
72
|
+
# The API key to access the developer authentication callback endpoint. (String)
|
73
|
+
attr_accessor :developerAuthenticationCallbackApiKey
|
74
|
+
alias_method :developer_authentication_callback_api_key, :developerAuthenticationCallbackApiKey
|
75
|
+
alias_method :developer_authentication_callback_api_key=, :developerAuthenticationCallbackApiKey=
|
76
|
+
|
77
|
+
# The API secret to access the developer authentication callback endpoint. (String)
|
78
|
+
attr_accessor :developerAuthenticationCallbackApiSecret
|
79
|
+
alias_method :developer_authentication_callback_api_secret, :developerAuthenticationCallbackApiSecret
|
80
|
+
alias_method :developer_authentication_callback_api_secret=, :developerAuthenticationCallbackApiSecret=
|
81
|
+
|
82
|
+
# The URI of the developer authentication callback endpoint. (URI)
|
83
|
+
attr_accessor :developerAuthenticationCallbackEndpoint
|
84
|
+
alias_method :developer_authentication_callback_endpoint, :developerAuthenticationCallbackEndpoint
|
85
|
+
alias_method :developer_authentication_callback_endpoint=, :developerAuthenticationCallbackEndpoint=
|
86
|
+
|
72
87
|
# The duration of ID tokens in seconds. (Integer)
|
73
88
|
attr_accessor :idTokenDuration
|
74
89
|
alias_method :id_token_duration, :idTokenDuration
|
@@ -227,8 +242,9 @@ module Authlete
|
|
227
242
|
STRING_ATTRIBUTES = ::Set.new([
|
228
243
|
:accessTokenType, :apiSecret, :authenticationCallbackApiKey,
|
229
244
|
:authenticationCallbackApiSecret, :authenticationCallbackEndpoint,
|
230
|
-
:authorizationEndpoint, :description, :
|
231
|
-
:
|
245
|
+
:authorizationEndpoint, :description, :developerAuthenticationCallbackApiKey,
|
246
|
+
:developerAuthenticationCallbackApiSecret, :developerAuthenticationCallbackEndpoint,
|
247
|
+
:issuer, :jwks, :jwksUri, :policyUri, :registrationEndpoint, :serviceDocumentation,
|
232
248
|
:serviceName, :tokenEndpoint, :tosUri, :userInfoEndpoint
|
233
249
|
])
|
234
250
|
|
@@ -242,39 +258,42 @@ module Authlete
|
|
242
258
|
|
243
259
|
# Mapping from snake cases to camel cases.
|
244
260
|
SNAKE_TO_CAMEL = {
|
245
|
-
:access_token_duration
|
246
|
-
:access_token_type
|
247
|
-
:api_key
|
248
|
-
:api_secret
|
249
|
-
:authentication_callback_api_key
|
250
|
-
:authentication_callback_api_secret
|
251
|
-
:authentication_callback_endpoint
|
252
|
-
:authorization_endpoint
|
253
|
-
:
|
254
|
-
:
|
255
|
-
:
|
256
|
-
:
|
257
|
-
:
|
258
|
-
:
|
259
|
-
:
|
260
|
-
:
|
261
|
-
:
|
262
|
-
:
|
263
|
-
:
|
264
|
-
:
|
265
|
-
:
|
266
|
-
:
|
267
|
-
:
|
268
|
-
:
|
269
|
-
:
|
270
|
-
:
|
271
|
-
:
|
272
|
-
:
|
273
|
-
:
|
274
|
-
:
|
275
|
-
:
|
276
|
-
:
|
277
|
-
:
|
261
|
+
:access_token_duration => :accessTokenDuration,
|
262
|
+
:access_token_type => :accessTokenType,
|
263
|
+
:api_key => :apiKey,
|
264
|
+
:api_secret => :apiSecret,
|
265
|
+
:authentication_callback_api_key => :authenticationCallbackApiKey,
|
266
|
+
:authentication_callback_api_secret => :authenticationCallbackApiSecret,
|
267
|
+
:authentication_callback_endpoint => :authenticationCallbackEndpoint,
|
268
|
+
:authorization_endpoint => :authorizationEndpoint,
|
269
|
+
:developer_authentication_callback_apiKey => :developerAuthenticationCallbackApiKey,
|
270
|
+
:developer_authentication_callback_api_secret => :developerAuthenticationCallbackApiSecret,
|
271
|
+
:developer_authentication_callback_endpoint => :developerAuthenticationCallbackEndpoint,
|
272
|
+
:created_at => :createdAt,
|
273
|
+
:id_tokn_duration => :idTokenDuration,
|
274
|
+
:jwks_uri => :jwksUri,
|
275
|
+
:modified_at => :modifiedAt,
|
276
|
+
:policy_uri => :policyUri,
|
277
|
+
:refresh_token_duration => :refreshTokenDuration,
|
278
|
+
:registration_endpoint => :registrationEndpoint,
|
279
|
+
:service_documentation => :serviceDocumentation,
|
280
|
+
:service_name => :serviceName,
|
281
|
+
:service_owner_number => :serviceOwnerNumber,
|
282
|
+
:sns_credentials => :snsCredentials,
|
283
|
+
:supported_acrs => :supportedAcrs,
|
284
|
+
:supported_claim_locales => :supportedClaimLocales,
|
285
|
+
:supported_claims => :supportedClaims,
|
286
|
+
:supported_claim_types => :supportedClaimTypes,
|
287
|
+
:supported_displays => :supportedDisplays,
|
288
|
+
:supported_grant_types => :supportedGrantTypes,
|
289
|
+
:supported_response_types => :supportedResponseTypes,
|
290
|
+
:supported_scopes => :supportedScopes,
|
291
|
+
:supported_snses => :supportedSnses,
|
292
|
+
:supported_token_auth_methods => :supportedTokenAuthMethods,
|
293
|
+
:supported_ui_locales => :supportedUiLocales,
|
294
|
+
:token_endpoint => :tokenEndpoint,
|
295
|
+
:tos_uri => :tosUri,
|
296
|
+
:user_info_endpoint => :userInfoEndpoint
|
278
297
|
}
|
279
298
|
|
280
299
|
# The constructor
|
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.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takahiko Kawasaki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -61,12 +61,6 @@ extensions: []
|
|
61
61
|
extra_rdoc_files: []
|
62
62
|
files:
|
63
63
|
- ".gitignore"
|
64
|
-
- ".idea/authlete-ruby-gem.iml"
|
65
|
-
- ".idea/encodings.xml"
|
66
|
-
- ".idea/misc.xml"
|
67
|
-
- ".idea/modules.xml"
|
68
|
-
- ".idea/scopes/scope_settings.xml"
|
69
|
-
- ".idea/vcs.xml"
|
70
64
|
- Gemfile
|
71
65
|
- LICENSE.txt
|
72
66
|
- README.md
|