An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

---
output: github_document
---

```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```

[![Travis-CI Build Status](https://travis-ci.org/ijlyttle/AzureOAuth.svg?branch=master)](https://travis-ci.org/ijlyttle/AzureOAuth)
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/AzureOAuth)](https://cran.r-project.org/package=AzureOAuth)
[![Coverage Status](https://img.shields.io/codecov/c/github/ijlyttle/AzureOAuth/master.svg)](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.