Skip to content

Conversation

@francisbarton
Copy link
Collaborator

Closes #74

This PR:

  • Creates a generate_resource() helper function to support getting the resource argument correct
  • Adds an aad_version argument with the default being 2 now (AzureAuth::get_azure_token() has version 1 as its default)
  • Reduces the length of get_auth_token() by moving some steps out into subsidiary functions
  • Uses purrr::safely and purrr::partial to amend the handling of get token functions within get_auth_token()

@francisbarton francisbarton merged commit bebb23a into main Jan 13, 2026
1 check passed
@francisbarton francisbarton deleted the francisbarton/issue74 branch January 13, 2026 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make improvements to get_auth_token() to support creating v2 auth tokens

3 participants