A collection of Rust crates for interacting with the iNaturalist API.

inaturalist-oauth: state checks, and stop logging tokens #28

Merged rwell.org
targeting main from oauth-state-check
Merged opened by and assigned to rwell.org
targeting main from oauth-state-check
  • authorization_url returns the state it puts in the URL, and get_api_token only accepts a redirect that carries it, through the new listen_for_redirect_with_state.
  • Stop logging the access token and API token.
  • Correct the docs: the API token is what expires after 24 hours.

AuthorizationInfo gains a field, which breaks code that constructs it.

Split from #6.

Commits 0