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

Fullscreen / yt
100%
master: 94%

Build:
Build:
LAST BUILD BRANCH: v0.33.4
DEFAULT BRANCH: master
Repo Added 14 May 2014 08:16AM UTC
Files 181
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 automatically-refresh-the-access-token
branch: automatically-refresh-the-access-token
CHANGE BRANCH
x
Reset
  • automatically-refresh-the-access-token
  • accept-camelcase-privacy-status
  • accept-env-variables
  • activesupport-4.1.4
  • add-authentication
  • add-days-and-weeks-to-duration
  • add-filter-to-account-videos
  • add-live-attributes
  • add-live-streaming-detail
  • add-log-level
  • add-new-url-back
  • add-partnered-channels
  • add-statistics
  • add-status-fields
  • add-todo
  • add-video-update
  • add-viewer-percentages
  • add-yt-support-back
  • analytics
  • asset-and-ownership
  • asset-monetization-flow
  • auth-no-api-key
  • be-kind-rewind
  • better-code
  • better-weather
  • bug/playlist-status
  • bump-gems
  • bump-rspec
  • camelize
  • channel-comment-count
  • channels-with-more-than-500-videos
  • co-upload-thumbnail
  • co-video-update
  • delegate-explicitly
  • device
  • do-not-delete
  • don-t-fail-on-adding-unavailable-videos
  • extend-snippet
  • extract-metrics
  • extract-reports
  • extracting-has-many
  • extracting-status
  • feature/approval_prompt
  • feature/claim-third-party
  • feature/claims
  • feature/collection-include
  • feature/content-owner-detail
  • feature/content-owners-list
  • feature/list-claims
  • feature/policies
  • feature/references
  • feature/video-search
  • fix-annotations
  • fix-annotations-with-0-timestamp
  • fix-claim-segments
  • fix-duration
  • fix-failing-spec
  • fix-gzip-for-ruby-19
  • fix-refresh
  • fix-ruby-specs
  • fix-travis
  • fix-travis-key
  • handle-random-400-error-from-youtube
  • implement-access-token
  • issue-43
  • limit-refresh-retry
  • list-references
  • master
  • metrics-for-non-content-owners
  • more-metrics
  • only-update-passed-parameters
  • playlist-items-content-owner
  • remove-by-week
  • remove-collection-resources
  • rename-rating-update-to-set
  • rename-time-updated
  • reports-for-videos
  • rescue-503-errors
  • retry-refresh-token-once
  • retry-timeout
  • retry-youtube-request-when-they-might-work-the-second-time
  • sanitize-angle-brackets
  • size-not-count
  • sort-videos-by-most-recent-first
  • stage
  • stage-2
  • stage-3
  • temporarily-add-logger-to-notify-google-of-500-errors
  • temporarily-skip-content-owner-specs
  • test-rspec-tag
  • token-empty
  • track-500-errors-separately
  • transform-brackets-in-snippets
  • update-accepts-both-underscore-and-camelcase
  • update-changelog-for-jcohenho
  • update-patch-asset
  • update-tests
  • update-video-status
  • upload-in-chunks
  • upload-video
  • url-id-bug-fixes
  • v0.11.0
  • v0.11.1
  • v0.32.4
  • v0.32.5
  • v0.32.6
  • v0.33.0
  • v0.33.2
  • v0.33.4
  • v0.4.10
  • v0.4.7
  • v0.4.8
  • v0.4.9
  • v0.5.10
  • v0.5.11
  • v0.5.12
  • v0.5.13
  • v0.5.14
  • v0.5.3
  • v0.5.4
  • v0.5.5
  • v0.5.6
  • v0.5.7
  • v0.5.8
  • v0.5.9
  • v0.6.0
  • v0.6.1
  • v0.6.2
  • v0.6.3
  • v0.6.4
  • v0.6.5
  • v0.6.6
  • v0.7.0
  • v0.7.1
  • v0.7.10
  • v0.7.11
  • v0.7.2
  • v0.7.3
  • v0.7.4
  • v0.7.5
  • v0.7.6
  • v0.7.8
  • v0.7.9
  • v0.8.0
  • v0.8.1
  • v0.8.2
  • v0.8.3
  • v0.8.4
  • v0.8.5
  • v0.9.0
  • v0.9.1
  • v0.9.2
  • v0.9.3
  • v0.9.4
  • v0.9.6
  • v0.9.7
  • vcr
  • version-bump
  • yt-collections-videos
  • yt-info
  • yt-video-where

pending completion
138

push

travis-ci

claudiofullscreen
Automatically refresh the access token if invalid

An OAuth2 access token from YouTube has a duration of one hour.
After this time, the requests made with the access token return
401 Unauthorized. However, if the refresh token is also available,
then the access token gets refreshed and new requests can be made.

2075 of 2075 relevant lines covered (100.0%)

27.78 hits per line

Relevant lines Covered
Build:
Build:
2075 RELEVANT LINES 2075 COVERED LINES
27.78 HITS PER LINE
Source Files on automatically-refresh-the-access-token
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
138 automatically-refresh-the-access-token Automatically refresh the access token if invalid An OAuth2 access token from YouTube has a duration of one hour. After this time, the requests made with the access token return 401 Unauthorized. However, if the refresh token is also available, t... push 04 Jun 2014 06:45PM UTC claudiofullscreen travis-ci pending completion  
See All Builds (469)
  • 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