OAuth2 for Ruby
Model OAuth access tokens and their expiry rules.
ruby-oauth · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
With Ruby 3.2 available, install oauth2 at version 2.1.0. Create a synthetic token with a past expiry time.
What we tested
2.1.0. Create a synthetic token with a past expiry time. The Ruby token object detected that the fixture token had expired.