Skip to content

Customize token cache #329

@amart90

Description

@amart90

I would like to be able to use sbtools to access secured ScienceBase items when using targets (or other non-interactive sessions). My current workflow involves (1) logging in and caching a token in an .Renviron file during an interactive session and then (2) using a custom wrapper function that logs into sciencebase using the cached token and then downloads the SB item using item_file_download().

While this approach works, I think there is an opportunity to embed this functionality into sbtools to provide this functionality to the larger community.

* I will create an example to test against - I just haven't gotten there yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions