• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Cado-Labs / auth-http-provider
100%

Build:
DEFAULT BRANCH: master
Repo Added 29 Nov 2021 10:57AM UTC
Files 2
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • access-refresh-tokens-api
  • master

07 Nov 2025 08:44AM UTC coverage: 100.0%. Remained the same
19162989138

push

github

web-flow
Merge pull request #14 from slhr/access-refresh-tokens-api

The api has been changed to work with a pair of tokens.

Before:
getToken: () => Promise<string>
saveToken: (token: string) => Promise<void>
refreshToken: () => Promise<string>

After:
getAccessToken: () => Promise<string>
saveTokens: (tokens: { accessToken: string, refreshToken: string }) => Promise<void>
refreshTokens: () => Promise<{ accessToken: string, refreshToken: string }>

Problem with the old approach:
When a 401 error occurred, the HTTP wrapper saved only one of the tokens, which caused issues when working with a pair.

20 of 20 branches covered (100.0%)

Branch coverage included in aggregate %.

11 of 11 new or added lines in 2 files covered. (100.0%)

47 of 47 relevant lines covered (100.0%)

21.96 hits per line

Relevant lines Covered
Build:
Build:
47 RELEVANT LINES 47 COVERED LINES
21.96 HITS PER LINE
Source Files on master
  • Tree
  • List 2
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
19162989138 master Merge pull request #14 from slhr/access-refresh-tokens-api The api has been changed to work with a pair of tokens. Before: getToken: () => Promise<string> saveToken: (token: string) => Promise<void> refreshToken: () => Promise<string> After: ge... push 07 Nov 2025 08:44AM UTC web-flow github
100.0
19162923087 access-refresh-tokens-api Merge 90b469cc4 into 00012d2ed Pull #14 07 Nov 2025 08:42AM UTC web-flow github
100.0
19162633137 access-refresh-tokens-api Merge 52f69205e into 00012d2ed Pull #14 07 Nov 2025 08:29AM UTC web-flow github
100.0
19137318599 access-refresh-tokens-api Merge 1f4641765 into 00012d2ed Pull #14 06 Nov 2025 01:31PM UTC web-flow github
100.0
3873768309 dependabot/npm_and_yarn/json5-1.0.2 Merge 6d5b16a36 into 00012d2ed Pull #13 09 Jan 2023 12:29PM UTC GitHub github pending completion  
3344752996 master Merge pull request #12 from Cado-Labs/making-edits push 28 Oct 2022 10:35AM UTC GitHub github pending completion  
3344512880 making-edits Merge 1b820ce7a into e43b4aaed Pull #12 28 Oct 2022 09:55AM UTC GitHub github pending completion  
3344473936 master Bump minimist from 1.2.5 to 1.2.6 (#10) push 28 Oct 2022 09:49AM UTC GitHub github pending completion  
3344473204 master Bump cross-fetch from 3.1.4 to 3.1.5 (#11) push 28 Oct 2022 09:49AM UTC GitHub github pending completion  
3344237015 making-edits Merge f740ad938 into 1c474c4cd Pull #12 28 Oct 2022 09:12AM UTC GitHub github pending completion  
See All Builds (40)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc