ijlyttle / AzureOAuth

Obtain OAuth2.0 Tokens from Microsoft Azure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Travis-CI Build Status CRAN_Status_Badge Coverage Status

AzureOAuth

The purpose of this package is to make it easier to deal with OAuth tokens from Microsoft Azure. Certainly, the httr package takes care of a great majority of the headache. It is hope that this package can alleviate any remaining headache.

Needless to say, this package draws much inspitaration from httr.

Azure access

Talk about native apps and service apps.

What we will need

  • Function oauth_endpoint_azure() (in file oauth-endpoint.R) - this will take tenant_id an argument.

  • Function oauth_token_azure() (in file oauth-token.R).

  • Vignette showing how to get things working for oauth2.0_token().

  • R6 class TokenServiceAccountAzure (in file oauth-token.R).

  • Function init_oauth_service_account_azure() (in file oauth-server-side.R)

  • Function oauth_service_token_azure() (in file oauth-token.R).

  • Vignette showing how to get things working for oauth_service_token_azure().

Installation

AzureOAuth is not yet available on CRAN. You may install from GitHub:

# install.packages("devtools")
devtools::install_github("ijlyttle/AzureOAuth")

If you encounter a clear bug, please file a minimal reproducible example on github.

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

About

Obtain OAuth2.0 Tokens from Microsoft Azure

License:Other


Languages

Language:R 100.0%