authlete 0.1.3 → 0.1.4

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: 36c41b9006e7ea745c49e4593cdd6048caa33af7
4
- data.tar.gz: 142752f0edb8f3ac7fb098ba2fce250c596cbca4
3
+ metadata.gz: f9eebbe1dbd1b81cb3acccd34c5d443477d83261
4
+ data.tar.gz: 8934d99069e18a80605e8568b443d0f6d97e08cc
5
5
  SHA512:
6
- metadata.gz: 0acfb9f9641c6b1af678bf3bdc27f13371d37ed276a867e57b9aec04ada80a291e8250d14d4986539956875ad59d224864d2d2668a2b59d76e061338ca532bc1
7
- data.tar.gz: 7729779a9f1e2db4a8687f951e24f3c22c79452246b51c4f4e460d4a8ae89c59e42fb9a08f5cfe8a6840586704d6cf348dd50b9b3d6f95a0f85af15aae969055
6
+ metadata.gz: 0e8c4d385bbfa81dc02b920e35666203547af745a7fb087369b68afb7af464b5d5923b421a2ef9216834017e256e986476e5c8bd93528a6314ac46cbb51ac1b0
7
+ data.tar.gz: f17bbab7957bad25c342be5cf2d71c58085a53449df19e3c67f688a7e89dec21258fb3a21444d8853fe08e3bdb47947f5e08fc5ebcf4362246a2e37e1848749b
data/.gitignore CHANGED
@@ -12,4 +12,4 @@
12
12
  *.o
13
13
  *.a
14
14
  mkmf.log
15
- /.idea/
15
+ .idea/
@@ -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, :issuer, :jwks, :jwksUri,
231
- :policyUri, :registrationEndpoint, :serviceDocumentation,
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 => :accessTokenDuration,
246
- :access_token_type => :accessTokenType,
247
- :api_key => :apiKey,
248
- :api_secret => :apiSecret,
249
- :authentication_callback_api_key => :authenticationCallbackApiKey,
250
- :authentication_callback_api_secret => :authenticationCallbackApiSecret,
251
- :authentication_callback_endpoint => :authenticationCallbackEndpoint,
252
- :authorization_endpoint => :authorizationEndpoint,
253
- :created_at => :createdAt,
254
- :id_tokn_duration => :idTokenDuration,
255
- :jwks_uri => :jwksUri,
256
- :modified_at => :modifiedAt,
257
- :policy_uri => :policyUri,
258
- :refresh_token_duration => :refreshTokenDuration,
259
- :registration_endpoint => :registrationEndpoint,
260
- :service_documentation => :serviceDocumentation,
261
- :service_name => :serviceName,
262
- :service_owner_number => :serviceOwnerNumber,
263
- :sns_credentials => :snsCredentials,
264
- :supported_acrs => :supportedAcrs,
265
- :supported_claim_locales => :supportedClaimLocales,
266
- :supported_claims => :supportedClaims,
267
- :supported_claim_types => :supportedClaimTypes,
268
- :supported_displays => :supportedDisplays,
269
- :supported_grant_types => :supportedGrantTypes,
270
- :supported_response_types => :supportedResponseTypes,
271
- :supported_scopes => :supportedScopes,
272
- :supported_snses => :supportedSnses,
273
- :supported_token_auth_methods => :supportedTokenAuthMethods,
274
- :supported_ui_locales => :supportedUiLocales,
275
- :token_endpoint => :tokenEndpoint,
276
- :tos_uri => :tosUri,
277
- :user_info_endpoint => :userInfoEndpoint
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
@@ -1,3 +1,3 @@
1
1
  module Authlete
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  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.1.3
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-04 00:00:00.000000000 Z
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