Login to a Crane repository

Description

Login to a Crane repository

Usage

login(repo, verbose = FALSE)

Arguments

  • repo: crane repo url
  • verbose: print info during the login process

Details

Find or negiotate an access token. In order of preference:

  1. load a valid access token from cache
  2. refreshing a cached access token
  3. negotiate a new access token using the device authorization flow

Value

access token

Last modified July 8, 2025