| set_azr_defaults | R Documentation |
Overrides the built-in fallback values used by default_azure_host(),
default_azure_client_id(), and default_azure_tenant_id() when the
corresponding environment variable is not set. Pass NULL to a parameter
to clear a previously set override.
The priority order for each default is:
Package-level override set by set_azr_defaults() (highest)
Environment variable (AZURE_AUTHORITY_HOST, AZURE_CLIENT_ID,
AZURE_TENANT_ID)
Built-in fallback (lowest)
set_azr_defaults(
host = .azr_defaults$host,
client_id = .azr_defaults$client_id,
tenant_id = .azr_defaults$tenant_id
)
host |
A character string specifying the Azure authority host, or
|
client_id |
A character string specifying the Azure client ID, or
|
tenant_id |
A character string specifying the Azure tenant ID, or
|
Invisibly returns the previous values as a named list.
# Override the authority host for Azure Government
set_azr_defaults(host = "login.microsoftonline.us")
# Clear the override
set_azr_defaults(host = NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.