Description Usage Arguments Value Note References See Also
View source: R/AzureAuthenticate.R
Get Azure token using device_code
1 2 3 4 5 6 7 8 | azureGetTokenDeviceCodeFetch(
azureActiveContext,
tenantID,
clientID,
deviceCode,
resource,
verbose = FALSE
)
|
azureActiveContext |
A container used for caching variables used by 'AzureSMR', created by [createAzureContext()] |
tenantID |
The tenant ID provided during creation of the Active Directory application / service principal |
clientID |
The client ID provided during creation of the Active Directory application / service principal |
deviceCode |
Provide the device code obtained in the previous request |
resource |
Specify the resource with which the toke is obtained |
verbose |
Print Tracing information (Default False) |
If successful, returns TRUE
See https://azure.microsoft.com/en-us/documentation/articles/resource-group-create-service-principal-portal/ for instructions to set up an Active Directory application
https://azure.microsoft.com/en-us/resources/samples/active-directory-dotnet-deviceprofile/
Other Azure resource functions:
adlFileInputStreamCheck(),
adlFileOutputStreamCheck(),
azureAuthenticateOnAuthType(),
azureAuthenticate(),
azureCheckToken(),
azureGetTokenClientCredential(),
azureGetTokenDeviceCode(),
azureGetTokenRefreshToken(),
showDeviceCodeMessageToUser()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.