authlete 0.5.0 → 0.5.1
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/service.rb +24 -10
- data/lib/authlete/version.rb +1 -1
- 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: 27dfa5aaff4b09fccd0cc250848dffcbe1c79796
|
4
|
+
data.tar.gz: c5bdab7d2741a9882466f01482888c654847012d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c4314f4cd74fca00bc212717fa29dc8979352f71697cba30637b37d901ab783731f0bab4ae08ebab10867dcf7306b1133a74ab24195b611625fb65cdc2741b2
|
7
|
+
data.tar.gz: b9296a57a5f1d02051e419fc038663010e20ae1b134d398d28223796ee8b9d4eb7a79079143c73fbe12ae816cbf8efc50d78cc5c2cabb9040263e57570b5fccb
|
@@ -104,7 +104,7 @@ module Authlete
|
|
104
104
|
|
105
105
|
# The flag to indicate whether the direct authorization endpoint
|
106
106
|
# is enabled or not. The path of the endpoint is
|
107
|
-
# <code>/api/auth/authorization/direct/{serviceApiKey}</code
|
107
|
+
# <code>/api/auth/authorization/direct/{serviceApiKey}</code>.
|
108
108
|
# (Boolean)
|
109
109
|
attr_accessor :directAuthorizationEndpointEnabled
|
110
110
|
alias_method :direct_authorization_endpoint_enabled, :directAuthorizationEndpointEnabled
|
@@ -112,7 +112,7 @@ module Authlete
|
|
112
112
|
|
113
113
|
# The flag to indicate whether the direct introspection endpoint
|
114
114
|
# is enabled or not. The path of the endpoint is
|
115
|
-
# <code>/api/auth/introspection/direct/{serviceApiKey}</code
|
115
|
+
# <code>/api/auth/introspection/direct/{serviceApiKey}</code>.
|
116
116
|
# (Boolean)
|
117
117
|
attr_accessor :directIntrospectionEndpointEnabled
|
118
118
|
alias_method :direct_introspection_endpoint_enabled, :directIntrospectionEndpointEnabled
|
@@ -120,7 +120,7 @@ module Authlete
|
|
120
120
|
|
121
121
|
# The flag to indicate whether the direct jwks endpoint
|
122
122
|
# is enabled or not. The path of the endpoint is
|
123
|
-
# <code>/api/service/jwks/get/direct/{serviceApiKey}</code
|
123
|
+
# <code>/api/service/jwks/get/direct/{serviceApiKey}</code>.
|
124
124
|
# (Boolean)
|
125
125
|
attr_accessor :directJwksEndpointEnabled
|
126
126
|
alias_method :direct_jwks_endpoint_enabled, :directJwksEndpointEnabled
|
@@ -128,7 +128,7 @@ module Authlete
|
|
128
128
|
|
129
129
|
# The flag to indicate whether the direct revocation endpoint
|
130
130
|
# is enabled or not. The path of the endpoint is
|
131
|
-
# <code>/api/auth/revocation/direct/{serviceApiKey}</code
|
131
|
+
# <code>/api/auth/revocation/direct/{serviceApiKey}</code>.
|
132
132
|
# (Boolean)
|
133
133
|
attr_accessor :directRevocationEndpointEnabled
|
134
134
|
alias_method :direct_revocation_endpoint_enabled, :directRevocationEndpointEnabled
|
@@ -136,7 +136,7 @@ module Authlete
|
|
136
136
|
|
137
137
|
# The flag to indicate whether the direct token endpoint
|
138
138
|
# is enabled or not. The path of the endpoint is
|
139
|
-
# <code>/api/auth/token/direct/{serviceApiKey}</code
|
139
|
+
# <code>/api/auth/token/direct/{serviceApiKey}</code>.
|
140
140
|
# (Boolean)
|
141
141
|
attr_accessor :directTokenEndpointEnabled
|
142
142
|
alias_method :direct_token_endpoint_enabled, :directTokenEndpointEnabled
|
@@ -144,12 +144,24 @@ module Authlete
|
|
144
144
|
|
145
145
|
# The flag to indicate whether the direct user info endpoint
|
146
146
|
# is enabled or not. The path of the endpoint is
|
147
|
-
# <code>/api/auth/userinfo/direct/{serviceApiKey}</code
|
147
|
+
# <code>/api/auth/userinfo/direct/{serviceApiKey}</code>.
|
148
148
|
# (Boolean)
|
149
149
|
attr_accessor :directUserInfoEndpointEnabled
|
150
150
|
alias_method :direct_user_info_endpoint_enabled, :directUserInfoEndpointEnabled
|
151
151
|
alias_method :direct_user_info_endpoint_enabled=, :directUserInfoEndpointEnabled=
|
152
152
|
|
153
|
+
# The flag to indicate whether the <code>error_description</code>
|
154
|
+
# response parameter is omitted. (Boolean)
|
155
|
+
attr_accessor :errorDescriptionOmitted
|
156
|
+
alias_method :error_description_omitted, :errorDescriptionOmitted
|
157
|
+
alias_method :error_description_omitted=, :errorDescriptionOmitted=
|
158
|
+
|
159
|
+
# The flag to indicate whether the <code>error_uri</code>
|
160
|
+
# response parameter is omitted. (Boolean)
|
161
|
+
attr_accessor :errorUriOmitted
|
162
|
+
alias_method :error_uri_omitted, :errorUriOmitted
|
163
|
+
alias_method :error_uri_omitted=, :errorUriOmitted=
|
164
|
+
|
153
165
|
# The duration of ID tokens in seconds. (Integer)
|
154
166
|
attr_accessor :idTokenDuration
|
155
167
|
alias_method :id_token_duration, :idTokenDuration
|
@@ -158,8 +170,8 @@ module Authlete
|
|
158
170
|
# The key ID to identify a JWK used for ID token signature using an
|
159
171
|
# asymmetric key. (String)
|
160
172
|
attr_accessor :idTokenSignatureKeyId
|
161
|
-
alias_method
|
162
|
-
alias_method
|
173
|
+
alias_method :id_token_signature_key_id, :idTokenSignatureKeyId
|
174
|
+
alias_method :id_token_signature_key_id=, :idTokenSignatureKeyId=
|
163
175
|
|
164
176
|
# The issuer identifier of this OpenID Provider. (URI)
|
165
177
|
attr_accessor :issuer
|
@@ -352,8 +364,8 @@ module Authlete
|
|
352
364
|
:clientIdAliasEnabled, :directAuthorizationEndpointEnabled,
|
353
365
|
:directIntrospectionEndpointEnabled, :directJwksEndpointEnabled,
|
354
366
|
:directRevocationEndpointEnabled, :directTokenEndpointEnabled,
|
355
|
-
:directUserInfoEndpointEnabled, :
|
356
|
-
:singleAccessTokenPerSubject
|
367
|
+
:directUserInfoEndpointEnabled, :errorDescriptionOmitted, :errorUriOmitted,
|
368
|
+
:pkceRequired, :refreshTokenKept, :singleAccessTokenPerSubject
|
357
369
|
])
|
358
370
|
|
359
371
|
# String attributes.
|
@@ -398,6 +410,8 @@ module Authlete
|
|
398
410
|
:direct_revocation_endpoint_enabled => :directRevocationEndpointEnabled,
|
399
411
|
:direct_token_endpoint_enabled => :directTokenEndpointEnabled,
|
400
412
|
:direct_user_info_endpoint_enabled => :directUserInfoEndpointEnabled,
|
413
|
+
:error_description_omitted => :errorDescriptionOmitted,
|
414
|
+
:error_uri_omitted => :errorUriOmitted,
|
401
415
|
:id_token_duration => :idTokenDuration,
|
402
416
|
:id_token_signature_key_id => :idTokenSignatureKeyId,
|
403
417
|
:jwks_uri => :jwksUri,
|
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.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takahiko Kawasaki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
123
|
version: '0'
|
124
124
|
requirements: []
|
125
125
|
rubyforge_project:
|
126
|
-
rubygems_version: 2.
|
126
|
+
rubygems_version: 2.5.1
|
127
127
|
signing_key:
|
128
128
|
specification_version: 4
|
129
129
|
summary: A library for Authlete Web APIs
|