authlete 1.0.13 → 1.0.14
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/service.rb +49 -4
- data/lib/authlete/version.rb +4 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18a6f4ab1279094560de9c05aa3ed5b7db891727
|
4
|
+
data.tar.gz: 301e9bf4600e5ebf07a00353169408f6be2ed06f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5338d1308f42692b88021aa594d664d770ccea3dffd4d2800fc6d7eb41978f52efbda83d460fcb4710913bd0576f4632b7887b10a462134e8adf7ce547c9538
|
7
|
+
data.tar.gz: 6b77b644d6196d45d218d7e726004b07b604f300f5ed7d019f87a56017607eddad7eec6a8dbb93ce15074505497266c23d9420749bd4f34d6fdfd53d00829892
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# :nodoc:
|
2
2
|
#
|
3
|
-
# Copyright (C) 2014-
|
3
|
+
# Copyright (C) 2014-2019 Authlete, Inc.
|
4
4
|
#
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
6
|
# you may not use this file except in compliance with the License.
|
@@ -153,6 +153,32 @@ module Authlete
|
|
153
153
|
alias_method :developer_sns_credentials, :developerSnsCredentials
|
154
154
|
alias_method :developer_sns_credentials=, :developerSnsCredentials=
|
155
155
|
|
156
|
+
# The URI of the device authorization endpoint. (String)
|
157
|
+
attr_accessor :deviceAuthorizationEndpoint
|
158
|
+
alias_method :device_authorization_endpoint, :deviceAuthorizationEndpoint
|
159
|
+
alias_method :device_authorization_endpoint=, :deviceAuthorizationEndpoint=
|
160
|
+
|
161
|
+
# The duration of device verification codes (device_code) and
|
162
|
+
# end-user verification codes (user_code) in seconds. (Integer)
|
163
|
+
attr_accessor :deviceFlowCodeDuration
|
164
|
+
alias_method :device_flow_code_duration, :deviceFlowCodeDuration
|
165
|
+
alias_method :device_flow_code_duration=, :deviceFlowCodeDuration=
|
166
|
+
|
167
|
+
# The minimum interval between polling requests in Device Flow in seconds. (Integer)
|
168
|
+
attr_accessor :deviceFlowPollingInterval
|
169
|
+
alias_method :device_flow_polling_interval, :deviceFlowPollingInterval
|
170
|
+
alias_method :device_flow_polling_interval=, :deviceFlowPollingInterval=
|
171
|
+
|
172
|
+
# The verification URI for Device Flow. (String)
|
173
|
+
attr_accessor :deviceVerificationUri
|
174
|
+
alias_method :device_verification_uri, :deviceVerificationUri
|
175
|
+
alias_method :device_verification_uri=, :deviceVerificationUri=
|
176
|
+
|
177
|
+
# The verification URI for Device Flow with a placeholder for a user code. (String)
|
178
|
+
attr_accessor :deviceVerificationUriComplete
|
179
|
+
alias_method :device_verification_uri_complete, :deviceVerificationUriComplete
|
180
|
+
alias_method :device_verification_uri_complete=, :deviceVerificationUriComplete=
|
181
|
+
|
156
182
|
# The flag to indicate whether the direct authorization endpoint
|
157
183
|
# is enabled or not. The path of the endpoint is
|
158
184
|
# <code>/api/auth/authorization/direct/{serviceApiKey}</code>.
|
@@ -425,6 +451,16 @@ module Authlete
|
|
425
451
|
alias_method :trusted_root_certificates, :trustedRootCertificates
|
426
452
|
alias_method :trusted_root_certificates=, :trustedRootCertificates=
|
427
453
|
|
454
|
+
# The character set for user codes. (String)
|
455
|
+
attr_accessor :userCodeCharset
|
456
|
+
alias_method :user_code_charset, :userCodeCharset
|
457
|
+
alias_method :user_code_charset=, :userCodeCharset=
|
458
|
+
|
459
|
+
# The length of user codes. (Integer)
|
460
|
+
attr_accessor :userCodeLength
|
461
|
+
alias_method :user_code_length, :userCodeLength
|
462
|
+
alias_method :user_code_length=, :userCodeLength=
|
463
|
+
|
428
464
|
# The URI of user info endpoint. (String)
|
429
465
|
attr_accessor :userInfoEndpoint
|
430
466
|
alias_method :user_info_endpoint, :userInfoEndpoint
|
@@ -455,8 +491,9 @@ module Authlete
|
|
455
491
|
INTEGER_ATTRIBUTES = ::Set.new([
|
456
492
|
:accessTokenDuration, :allowableClockSkew, :apiKey, :authorizationResponseDuration,
|
457
493
|
:backchannelAuthReqIdDuration, :backchannelPollingInterval, :clientsPerDeveloper,
|
458
|
-
:createdAt, :
|
459
|
-
:
|
494
|
+
:createdAt, :deviceFlowCodeDuration, :deviceFlowPollingInterval,
|
495
|
+
:idTokenDuration, :modifiedAt, :number, :refreshTokenDuration,
|
496
|
+
:serviceOwnerNumber, :userCodeLength
|
460
497
|
])
|
461
498
|
|
462
499
|
# Boolean attributes.
|
@@ -477,9 +514,10 @@ module Authlete
|
|
477
514
|
:authenticationCallbackEndpoint, :authorizationEndpoint, :authorizationSignatureKeyId,
|
478
515
|
:backchannelAuthenticationEndpoint, :description, :developerAuthenticationCallbackApiKey,
|
479
516
|
:developerAuthenticationCallbackApiSecret, :developerAuthenticationCallbackEndpoint,
|
517
|
+
:deviceAuthorizationEndpoint, :deviceVerificationUri, :deviceVerificationUriComplete,
|
480
518
|
:idTokenSignatureKeyId, :introspectionEndpoint, :issuer, :jwks, :jwksUri,
|
481
519
|
:policyUri, :registrationEndpoint, :serviceDocumentation, :serviceName,
|
482
|
-
:tokenEndpoint, :tosUri, :userInfoEndpoint, :userInfoSignatureKeyId,
|
520
|
+
:tokenEndpoint, :tosUri, :userCodeCharset, :userInfoEndpoint, :userInfoSignatureKeyId,
|
483
521
|
:revocationEndpoint, :registrationManagementEndpoint
|
484
522
|
])
|
485
523
|
|
@@ -520,6 +558,11 @@ module Authlete
|
|
520
558
|
:developer_authentication_callback_api_secret => :developerAuthenticationCallbackApiSecret,
|
521
559
|
:developer_authentication_callback_endpoint => :developerAuthenticationCallbackEndpoint,
|
522
560
|
:developer_sns_credentials => :developerSnsCredentials,
|
561
|
+
:device_authorization_endpoint => :deviceAuthorizationEndpoint,
|
562
|
+
:device_flow_code_duration => :deviceFlowCodeDuration,
|
563
|
+
:device_flow_polling_interval => :deviceFlowPollingInterval,
|
564
|
+
:device_verification_uri => :deviceVerificationUri,
|
565
|
+
:device_verification_uri_complete => :deviceVerificationUriComplete,
|
523
566
|
:client_id_alias_enabled => :clientIdAliasEnabled,
|
524
567
|
:clients_per_developer => :clientsPerDeveloper,
|
525
568
|
:created_at => :createdAt,
|
@@ -568,6 +611,8 @@ module Authlete
|
|
568
611
|
:token_endpoint => :tokenEndpoint,
|
569
612
|
:tos_uri => :tosUri,
|
570
613
|
:trusted_root_certificates => :trustedRootCertificates,
|
614
|
+
:user_code_charset => :userCodeCharset,
|
615
|
+
:user_code_length => :userCodeLength,
|
571
616
|
:user_info_endpoint => :userInfoEndpoint,
|
572
617
|
:user_info_signature_key_id => :userInfoSignatureKeyId
|
573
618
|
}
|
data/lib/authlete/version.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# :nodoc:
|
2
2
|
#
|
3
|
-
# Copyright (C) 2014-
|
3
|
+
# Copyright (C) 2014-2019 Authlete, Inc.
|
4
4
|
#
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
6
|
# you may not use this file except in compliance with the License.
|
@@ -16,5 +16,6 @@
|
|
16
16
|
|
17
17
|
|
18
18
|
module Authlete
|
19
|
-
VERSION = "1.0.
|
20
|
-
end
|
19
|
+
VERSION = "1.0.14"
|
20
|
+
end
|
21
|
+
|
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.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takahiko Kawasaki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
144
|
version: '0'
|
145
145
|
requirements: []
|
146
146
|
rubyforge_project:
|
147
|
-
rubygems_version: 2.
|
147
|
+
rubygems_version: 2.6.13
|
148
148
|
signing_key:
|
149
149
|
specification_version: 4
|
150
150
|
summary: A library for Authlete Web APIs
|