Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Authentication

rscalendar uses OAuth2 to access the Google Calendar API on your behalf.

How It Works

  1. You provide OAuth2 client credentials (a JSON file from Google Cloud Console)
  2. On first use, rscalendar opens your browser to get consent
  3. The access token is cached locally for future requests

Files

FileLocationPurpose
Credentials~/.config/rscalendar/credentials.jsonOAuth2 client ID and secret
Token cache~/.config/rscalendar/token_cache.jsonCached access/refresh tokens

Commands

Authenticate (opens browser):

rscalendar auth

Authenticate without browser (prints URL):

rscalendar auth --no-browser

Force re-authentication (removes cached token first):

rscalendar auth --force

Scopes

rscalendar requests the https://www.googleapis.com/auth/calendar scope, which provides full read/write access to your Google Calendar.