https://github.com/ijlyttle/azureoauth
Obtain OAuth2.0 Tokens from Microsoft Azure
https://github.com/ijlyttle/azureoauth
Last synced: 13 days ago
JSON representation
Obtain OAuth2.0 Tokens from Microsoft Azure
- Host: GitHub
- URL: https://github.com/ijlyttle/azureoauth
- Owner: ijlyttle
- License: other
- Created: 2017-04-26T17:57:46.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-29T02:51:40.000Z (about 9 years ago)
- Last Synced: 2026-03-31T16:48:10.601Z (3 months ago)
- Language: R
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- License: LICENSE
Awesome Lists containing this project
README
---
output: github_document
---
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```
[](https://travis-ci.org/ijlyttle/AzureOAuth)
[](https://cran.r-project.org/package=AzureOAuth)
[](https://codecov.io/github/ijlyttle/AzureOAuth?branch=master)
# 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
- [x] Function `oauth_endpoint_azure()` (in file `oauth-endpoint.R`) - this will take `tenant_id` an argument.
- [x] Function `oauth_token_azure()` (in file `oauth-token.R`).
- [x] Vignette showing how to get things working for `oauth2.0_token()`.
- [x] R6 class `TokenServiceAccountAzure` (in file `oauth-token.R`).
- [x] Function `init_oauth_service_account_azure()` (in file `oauth-server-side.R`)
- [x] Function `oauth_service_token_azure()` (in file `oauth-token.R`).
- [x] 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:
```{r, eval = FALSE}
# install.packages("devtools")
devtools::install_github("ijlyttle/AzureOAuth")
```
If you encounter a clear bug, please file a minimal reproducible example on [github](https://github.com/ijlyttle/AzureOAuth/issues).
## Code of Conduct
Please note that this project is released with a [Contributor Code of Conduct](CONDUCT.md). By participating in this project you agree to abide by its terms.