Smart authentication for SpeedGoat APIs
auth_login.RdAutomatically selects and executes the appropriate authentication method:
OIDC token if the realm's OIDC env var is set
API key if the realm's API key env var is set
OAuth2 if in an interactive session
This function does not need to be called by the user to login. It is called automatically by other functions in the package.
See also
auth_logout() to end a session, auth_me() to inspect the
current user, auth_validate() to validate a token