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 +4 -4
- data/lib/authlete/model/client.rb +48 -42
- 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: 766ecfef7e3f59f9abac983e1a2f15fb0907ecce
         | 
| 4 | 
            +
              data.tar.gz: d241c5016a77a2186a52de227dc3db803d6b4c4b
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 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 | 
| 312 | 
            -
                    :client_id | 
| 313 | 
            -
                    :client_id_alias | 
| 314 | 
            -
                    :client_id_alias_enabled | 
| 315 | 
            -
                    :client_secret | 
| 316 | 
            -
                    :client_type | 
| 317 | 
            -
                    :redirect_uris | 
| 318 | 
            -
                    :response_types | 
| 319 | 
            -
                    :grant_types | 
| 320 | 
            -
                    :application_type | 
| 321 | 
            -
                    :client_name | 
| 322 | 
            -
                    :client_names | 
| 323 | 
            -
                    :logo_uri | 
| 324 | 
            -
                    :logo_uris | 
| 325 | 
            -
                    :client_uri | 
| 326 | 
            -
                    :client_uris | 
| 327 | 
            -
                    :policy_uri | 
| 328 | 
            -
                    :policy_uris | 
| 329 | 
            -
                    :tos_uri | 
| 330 | 
            -
                    :tos_uris | 
| 331 | 
            -
                    :jwks_uri | 
| 332 | 
            -
                    :sector_identifier | 
| 333 | 
            -
                    :subject_type | 
| 334 | 
            -
                    :id_token_sign_alg | 
| 335 | 
            -
                    :id_token_encryption_alg | 
| 336 | 
            -
                    :id_token_encryption_enc | 
| 337 | 
            -
                    :user_info_sign_alg | 
| 338 | 
            -
                    :user_info_encryption_alg | 
| 339 | 
            -
                    :user_info_encryption_enc | 
| 340 | 
            -
                    :request_sign_alg | 
| 341 | 
            -
                    :request_encryption_alg | 
| 342 | 
            -
                    :request_encryption_enc | 
| 343 | 
            -
                    :token_auth_method | 
| 344 | 
            -
                    :token_auth_sign_alg | 
| 345 | 
            -
                    :default_max_age | 
| 346 | 
            -
                    :default_acrs | 
| 347 | 
            -
                    :auth_time_required | 
| 348 | 
            -
                    :login_uri | 
| 349 | 
            -
                    :request_uris | 
| 350 | 
            -
                    :created_at | 
| 351 | 
            -
                    :modified_at | 
| 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
         | 
    
        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: 1.0. | 
| 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- | 
| 11 | 
            +
            date: 2018-03-07 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: rest-client
         |