You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-12Lines changed: 10 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@
9
9
10
10
## 🔐 OAuth2
11
11
12
-
[![Version][👽versioni]][👽version][![License: MIT][📄license-img]][📄license-ref][![Downloads Rank][👽dl-ranki]][👽dl-rank][![Open Source Helpers][👽oss-helpi]][👽oss-help][![Depfu][🔑depfui♻️]][🔑depfu][![Coveralls Test Coverage][🔑coveralls-img]][🔑coveralls][![QLTY Test Coverage][🔑qlty-covi♻️]][🔑qlty-cov][![CI Heads][🚎3-hd-wfi]][🚎3-hd-wf][![CI Runtime Dependencies @ HEAD][🚎12-crh-wfi]][🚎12-crh-wf][![CI Current][🚎11-c-wfi]][🚎11-c-wf][![CI Truffle Ruby][🚎9-t-wfi]][🚎9-t-wf][![CI JRuby][🚎10-j-wfi]][🚎10-j-wf][![CI Supported][🚎6-s-wfi]][🚎6-s-wf][![CI Legacy][🚎4-lg-wfi]][🚎4-lg-wf][![CI Unsupported][🚎7-us-wfi]][🚎7-us-wf][![CI Ancient][🚎1-an-wfi]][🚎1-an-wf][![CI Caboose is an absolute WAGON][🚎13-cbs-wfi]][🚎13-cbs-wf][![CI Test Coverage][🚎2-cov-wfi]][🚎2-cov-wf][![CI Style][🚎5-st-wfi]][🚎5-st-wf][![CodeQL][🖐codeQL-img]][🖐codeQL]
12
+
[![Version][👽versioni]][👽version][![License: MIT][📄license-img]][📄license-ref][![Downloads Rank][👽dl-ranki]][👽dl-rank][![Open Source Helpers][👽oss-helpi]][👽oss-help][![Depfu][🔑depfui♻️]][🔑depfu][![Coveralls Test Coverage][🔑coveralls-img]][🔑coveralls][![QLTY Test Coverage][🔑qlty-covi♻️]][🔑qlty-cov][![QLTY Maintainability][🔑-mnti♻️]][🔑cc-mnt][![CI Heads][🚎3-hd-wfi]][🚎3-hd-wf][![CI Runtime Dependencies @ HEAD][🚎12-crh-wfi]][🚎12-crh-wf][![CI Current][🚎11-c-wfi]][🚎11-c-wf][![CI Truffle Ruby][🚎9-t-wfi]][🚎9-t-wf][![CI JRuby][🚎10-j-wfi]][🚎10-j-wf][![CI Supported][🚎6-s-wfi]][🚎6-s-wf][![CI Legacy][🚎4-lg-wfi]][🚎4-lg-wf][![CI Unsupported][🚎7-us-wfi]][🚎7-us-wf][![CI Ancient][🚎1-an-wfi]][🚎1-an-wf][![CI Caboose is an absolute WAGON][🚎13-cbs-wfi]][🚎13-cbs-wf][![CI Test Coverage][🚎2-cov-wfi]][🚎2-cov-wf][![CI Style][🚎5-st-wfi]][🚎5-st-wf][![CodeQL][🖐codeQL-img]][🖐codeQL]
13
13
14
14
---
15
15
@@ -145,7 +145,7 @@ One of these might be what you are looking for:
145
145
| Works with JRuby |[![JRuby 9.2 Compat][💎jruby-9.2i]][🚎10-j-wf][![JRuby 9.3 Compat][💎jruby-9.3i]][🚎10-j-wf][![JRuby 9.4 Compat][💎jruby-9.4i]][🚎10-j-wf][![JRuby 10.0 Compat][💎jruby-c-i]][🚎11-c-wf][![JRuby HEAD Compat][💎jruby-headi]][🚎3-hd-wf]|
146
146
| Works with Truffle Ruby |[![Truffle Ruby 23.1 Compat][💎truby-23.1i]][🚎9-t-wf][![Truffle Ruby 24.1 Compat][💎truby-c-i]][🚎11-c-wf][![Truffle Ruby HEAD Compat][💎truby-headi]][🚎3-hd-wf]|
147
147
| Works with MRI Ruby 3 |[![Ruby 3.0 Compat][💎ruby-3.0i]][🚎4-lg-wf][![Ruby 3.1 Compat][💎ruby-3.1i]][🚎6-s-wf][![Ruby 3.2 Compat][💎ruby-3.2i]][🚎6-s-wf][![Ruby 3.3 Compat][💎ruby-3.3i]][🚎6-s-wf][![Ruby 3.4 Compat][💎ruby-c-i]][🚎11-c-wf][![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf]|
148
-
| Works with MRI Ruby 2 |[![Ruby 2.3 Compat][💎ruby-2.3i]][🚎1-an-wf][![Ruby 2.4 Compat][💎ruby-2.4i]][🚎1-an-wf][![Ruby 2.5 Compat][💎ruby-2.5i]][🚎1-an-wf][![Ruby 2.6 Compat][💎ruby-2.6i]][🚎7-us-wf][![Ruby 2.7 Compat][💎ruby-2.7i]][🚎7-us-wf]|
148
+
| Works with MRI Ruby 2 |[![Ruby 2.3 Compat][💎ruby-2.3i]][🚎13-cbs-wf][![Ruby 2.4 Compat][💎ruby-2.4i]][🚎1-an-wf][![Ruby 2.5 Compat][💎ruby-2.5i]][🚎1-an-wf][![Ruby 2.6 Compat][💎ruby-2.6i]][🚎7-us-wf][![Ruby 2.7 Compat][💎ruby-2.7i]][🚎7-us-wf]|
149
149
| Source |[![Source on GitLab.com][📜src-gl-img]][📜src-gl][![Source on CodeBerg.org][📜src-cb-img]][📜src-cb][![Source on Github.com][📜src-gh-img]][📜src-gh][![The best SHA: dQw4w9WgXcQ!][🧮kloc-img]][🧮kloc]|
150
150
| Documentation |[![Discussion][⛳gg-discussions-img]][⛳gg-discussions][![Current release on RubyDoc.info][📜docs-cr-rd-img]][🚎yard-current][![HEAD on RubyDoc.info][📜docs-head-rd-img]][🚎yard-head][![BDFL Blog][🚂bdfl-blog-img]][🚂bdfl-blog][![Wiki][📜wiki-img]][📜wiki]|
@@ -328,19 +328,17 @@ For more see [SECURITY.md][🔐security].
328
328
329
329
## What is new for v2.0?
330
330
331
-
- Officially support Ruby versions >= 2.7
332
-
- Unofficially support Ruby versions >= 2.5
333
-
- Incidentally support Ruby versions >= 2.2
331
+
- Works with Ruby versions >= 2.2
334
332
- Drop support for the expired MAC Draft (all versions)
335
333
- Support IETF rfc7523 JWT Bearer Tokens
336
334
- Support IETF rfc7231 Relative Location in Redirect
337
335
- Support IETF rfc6749 Don't set oauth params when nil
338
336
- Support IETF rfc7009 Token Revocation (since v2.0.10)
339
337
- Support [OIDC 1.0 Private Key JWT](https://openid.net/specs/openid-connect-core-1_0.html#ClientAuthentication); based on the OAuth JWT assertion specification [(RFC 7523)](https://tools.ietf.org/html/rfc7523)
340
338
- Support new formats, including from [jsonapi.org](http://jsonapi.org/format/): `application/vdn.api+json`, `application/vnd.collection+json`, `application/hal+json`, `application/problem+json`
341
-
- Adds new option to `OAuth2::Client#get_token`:
339
+
- Adds option to `OAuth2::Client#get_token`:
342
340
-`:access_token_class` (`AccessToken`); user specified class to use for all calls to `get_token`
343
-
- Adds new option to `OAuth2::AccessToken#initialize`:
341
+
- Adds option to `OAuth2::AccessToken#initialize`:
344
342
-`:expires_latency` (`nil`); number of seconds by which AccessToken validity will be reduced to offset latency
345
343
- By default, keys are transformed to snake case.
346
344
- Original keys will still work as previously, in most scenarios, thanks to [snaky_hash][snaky_hash] gem.
0 commit comments