Package: AzureAuth 1.3.3

Hong Ooi

AzureAuth: Authentication Services for Azure Active Directory

Provides Azure Active Directory (AAD) authentication functionality for R users of Microsoft's 'Azure' cloud <https://azure.microsoft.com/>. Use this package to obtain 'OAuth' 2.0 tokens for services including Azure Resource Manager, Azure Storage and others. It supports both AAD v1.0 and v2.0, as well as multiple authentication methods, including device code and resource owner grant. Tokens are cached in a user-specific directory obtained using the 'rappdirs' package. The interface is based on the 'OAuth' framework in the 'httr' package, but customised and streamlined for Azure. Part of the 'AzureR' family of packages.

Authors:Hong Ooi [aut, cre], Tyler Littlefield [ctb], httr development team [ctb], Scott Holden [ctb], Chris Stone [ctb], Microsoft [cph]

AzureAuth_1.3.3.tar.gz
AzureAuth_1.3.3.zip(r-4.5)AzureAuth_1.3.3.zip(r-4.4)AzureAuth_1.3.3.zip(r-4.3)
AzureAuth_1.3.3.tgz(r-4.4-any)AzureAuth_1.3.3.tgz(r-4.3-any)
AzureAuth_1.3.3.tar.gz(r-4.5-noble)AzureAuth_1.3.3.tar.gz(r-4.4-noble)
AzureAuth_1.3.3.tgz(r-4.4-emscripten)AzureAuth_1.3.3.tgz(r-4.3-emscripten)
AzureAuth.pdf |AzureAuth.html
AzureAuth/json (API)
NEWS

# Install 'AzureAuth' in R:
install.packages('AzureAuth', repos = c('https://azure.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/azure/azureauth/issues

On CRAN:

azureazure-active-directoryazure-sdk-roauth2

28 exports 40 stars 4.92 score 10 dependencies 22 dependents 51.6k downloads

Last updated 2 years agofrom:f6e54d7708

Exports:AzureR_dirAzureTokenAzureTokenAuthCodeAzureTokenClientCredsAzureTokenDeviceCodeAzureTokenManagedAzureTokenOnBehalfOfAzureTokenResOwnerbuild_authorization_uricert_assertionclean_token_directorycreate_AzureR_dirdecode_jwtdelete_azure_tokenextract_jwtformat_auth_headerget_azure_tokenget_device_credsget_managed_tokenis_azure_tokenis_azure_v1_tokenis_azure_v2_tokenis_guidlist_azure_tokensload_azure_tokennormalize_guidnormalize_tenanttoken_hash

Dependencies:askpasscurlhttrjosejsonlitemimeopensslR6rappdirssys

Acquire an OAuth token

Rendered fromtoken.Rmdusingknitr::rmarkdownon Jul 19 2024.

Last update: 2021-09-03
Started: 2019-02-12

Common authentication scenarios

Rendered fromscenarios.Rmdusingknitr::rmarkdownon Jul 19 2024.

Last update: 2021-09-08
Started: 2021-03-29

Authenticating from Shiny

Rendered fromshiny.Rmdusingknitr::rmarkdownon Jul 19 2024.

Last update: 2021-09-03
Started: 2019-07-27

Readme and manuals

Help Manual

Help pageTopics
Data directory for AzureR packagesAzureR_dir create_AzureR_dir
Azure OAuth authenticationAzureToken AzureTokenAuthCode AzureTokenClientCreds AzureTokenDeviceCode AzureTokenManaged AzureTokenOnBehalfOf AzureTokenResOwner
Standalone OAuth authorization functionsbuild_authorization_uri get_device_creds
Create a client assertion for certificate authenticationcert_assertion
Get raw access token (which is a JWT object)decode_jwt decode_jwt.AzureToken decode_jwt.character decode_jwt.Token extract_jwt extract_jwt.AzureToken extract_jwt.character extract_jwt.Token
Format an AzureToken objectformat_auth_header
Manage Azure Active Directory OAuth 2.0 tokensclean_token_directory delete_azure_token get_azure_token get_managed_token is_azure_token is_azure_v1_token is_azure_v2_token list_azure_tokens load_azure_token token_hash
Normalize GUID and tenant valuesis_guid normalize_guid normalize_tenant