authlete 1.0.3 → 1.0.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: a9f18275856c908098d681e71dec37a817607ba3
4
- data.tar.gz: 4a3c7a9688efb5c13056bbac77bebad6ebf394f8
3
+ metadata.gz: 766ecfef7e3f59f9abac983e1a2f15fb0907ecce
4
+ data.tar.gz: d241c5016a77a2186a52de227dc3db803d6b4c4b
5
5
  SHA512:
6
- metadata.gz: 7ad511296daf3c7db50624e5f8bd68ef87f8d0142a9c3f2c97999978fa5c533fea46fcd4efbc8f1ce87bc78045e138ed17f2a0ba3171a88230397bb216c87ead
7
- data.tar.gz: 88a4d0db508108a1f847c8e2d530291d14de74be9fde1d14d7f8870a98206b0c8c8fde86bb3167896523dc5d8011593a7f8d928faeb6c3760051c945d3014a37
6
+ metadata.gz: 7e2bafc4f41c9875f891f62f69094b9c3de757bed86bffe52f10d238d6171505ae725319862dc46fff045983153cd9eea01d87ffaa234131c5a59be4c70964aa
7
+ data.tar.gz: f0af767bf175bdaa460fdbde7e20b8e696c1dbe15255b01b26db8ac87b19d02f13ea60fba62cafb014b138156a83d47e8c56416dc205b6b4a13c64139b9fa0ef
@@ -146,6 +146,11 @@ module Authlete
146
146
 
147
147
  # The content of the JWK Set of the client application. (String)
148
148
  attr_accessor :jwks
149
+
150
+ # The DN of the certificate used in mutual client authentication
151
+ attr_accessor :tlsClientAuthSubjectDn
152
+ alias_method :tls_client_auth_subject_dn, :tlsClientAuthSubjectDn
153
+ alias_method :tls_client_auth_subject_dn=, :tlsClientAuthSubjectDn=
149
154
 
150
155
  # The sector identifier which is a URL starting with https. (URI)
151
156
  attr_accessor :sectorIdentifier
@@ -293,7 +298,7 @@ module Authlete
293
298
  :jwksUri, :jwks, :sectorIdentifier, :subjectType, :idTokenSignAlg,
294
299
  :idTokenEncryptionAlg, :idTokenEncryptionEnc, :userInfoSignAlg, :userInfoEncryptionAlg,
295
300
  :userInfoEncryptionEnc, :requestSignAlg, :requestEncryptionAlg, :requestEncryptionEnc,
296
- :tokenAuthMethod, :tokenAuthSignAlg, :loginUri, :description
301
+ :tokenAuthMethod, :tokenAuthSignAlg, :loginUri, :description, :tlsClientAuthSubjectDn
297
302
  ])
298
303
 
299
304
  # String array attributes.
@@ -308,47 +313,48 @@ module Authlete
308
313
 
309
314
  # Mapping from snake cases to camel cases.
310
315
  SNAKE_TO_CAMEL = {
311
- :service_number => :serviceNumber,
312
- :client_id => :clientId,
313
- :client_id_alias => :clientIdAlias,
314
- :client_id_alias_enabled => :clientIdAliasEnabled,
315
- :client_secret => :clientSecret,
316
- :client_type => :clientType,
317
- :redirect_uris => :redirectUris,
318
- :response_types => :responseTypes,
319
- :grant_types => :grantTypes,
320
- :application_type => :applicationType,
321
- :client_name => :clientName,
322
- :client_names => :clientNames,
323
- :logo_uri => :logoUri,
324
- :logo_uris => :logoUris,
325
- :client_uri => :clientUri,
326
- :client_uris => :clientUris,
327
- :policy_uri => :policyUri,
328
- :policy_uris => :policyUris,
329
- :tos_uri => :tosUri,
330
- :tos_uris => :tosUris,
331
- :jwks_uri => :jwksUri,
332
- :sector_identifier => :sectorIdentifier,
333
- :subject_type => :subjectType,
334
- :id_token_sign_alg => :idTokenSignAlg,
335
- :id_token_encryption_alg => :idTokenEncryptionAlg,
336
- :id_token_encryption_enc => :idTokenEncryptionEnc,
337
- :user_info_sign_alg => :userInfoSignAlg,
338
- :user_info_encryption_alg => :userInfoEncryptionAlg,
339
- :user_info_encryption_enc => :userInfoEncryptionEnc,
340
- :request_sign_alg => :requestSignAlg,
341
- :request_encryption_alg => :requestEncryptionAlg,
342
- :request_encryption_enc => :requestEncryptionEnc,
343
- :token_auth_method => :tokenAuthMethod,
344
- :token_auth_sign_alg => :tokenAuthSignAlg,
345
- :default_max_age => :defaultMaxAge,
346
- :default_acrs => :defaultAcrs,
347
- :auth_time_required => :authTimeRequired,
348
- :login_uri => :loginUri,
349
- :request_uris => :requestUris,
350
- :created_at => :createdAt,
351
- :modified_at => :modifiedAt
316
+ :service_number => :serviceNumber,
317
+ :client_id => :clientId,
318
+ :client_id_alias => :clientIdAlias,
319
+ :client_id_alias_enabled => :clientIdAliasEnabled,
320
+ :client_secret => :clientSecret,
321
+ :client_type => :clientType,
322
+ :redirect_uris => :redirectUris,
323
+ :response_types => :responseTypes,
324
+ :grant_types => :grantTypes,
325
+ :application_type => :applicationType,
326
+ :client_name => :clientName,
327
+ :client_names => :clientNames,
328
+ :logo_uri => :logoUri,
329
+ :logo_uris => :logoUris,
330
+ :client_uri => :clientUri,
331
+ :client_uris => :clientUris,
332
+ :policy_uri => :policyUri,
333
+ :policy_uris => :policyUris,
334
+ :tos_uri => :tosUri,
335
+ :tos_uris => :tosUris,
336
+ :jwks_uri => :jwksUri,
337
+ :sector_identifier => :sectorIdentifier,
338
+ :subject_type => :subjectType,
339
+ :id_token_sign_alg => :idTokenSignAlg,
340
+ :id_token_encryption_alg => :idTokenEncryptionAlg,
341
+ :id_token_encryption_enc => :idTokenEncryptionEnc,
342
+ :user_info_sign_alg => :userInfoSignAlg,
343
+ :user_info_encryption_alg => :userInfoEncryptionAlg,
344
+ :user_info_encryption_enc => :userInfoEncryptionEnc,
345
+ :request_sign_alg => :requestSignAlg,
346
+ :request_encryption_alg => :requestEncryptionAlg,
347
+ :request_encryption_enc => :requestEncryptionEnc,
348
+ :token_auth_method => :tokenAuthMethod,
349
+ :token_auth_sign_alg => :tokenAuthSignAlg,
350
+ :default_max_age => :defaultMaxAge,
351
+ :default_acrs => :defaultAcrs,
352
+ :auth_time_required => :authTimeRequired,
353
+ :login_uri => :loginUri,
354
+ :request_uris => :requestUris,
355
+ :created_at => :createdAt,
356
+ :modified_at => :modifiedAt,
357
+ :tls_client_auth_subject_dn => :tlsClientAuthSubjectDn
352
358
  }
353
359
 
354
360
  # The constructor
@@ -16,5 +16,5 @@
16
16
 
17
17
 
18
18
  module Authlete
19
- VERSION = "1.0.3"
19
+ VERSION = "1.0.4"
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: 1.0.3
4
+ version: 1.0.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: 2018-02-19 00:00:00.000000000 Z
11
+ date: 2018-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client