зеркало из https://github.com/Azure/AzureRMR.git
login fix
This commit is contained in:
Родитель
42f672905a
Коммит
f1ba94ac17
|
@ -70,6 +70,7 @@ create_azure_login <- function(tenant="common", app=.az_cli_app_id, password=NUL
|
|||
if(!is.null(conf$app)) app <- conf$app
|
||||
if(!is.null(conf$auth_type)) auth_type <- conf$auth_type
|
||||
if(!is.null(conf$password)) password <- conf$password
|
||||
if(!is.null(conf$username)) username <- conf$username
|
||||
if(!is.null(conf$host)) host <- conf$host
|
||||
if(!is.null(conf$aad_host)) aad_host <- conf$aad_host
|
||||
}
|
||||
|
|
|
@ -60,7 +60,7 @@ public=list(
|
|||
token=NULL,
|
||||
|
||||
# authenticate and get subscriptions
|
||||
initialize=function(tenant, app=.az_cli_app_id, password=NULL, username=NULL, auth_type=NULL,
|
||||
initialize=function(tenant="common", app=.az_cli_app_id, password=NULL, username=NULL, auth_type=NULL,
|
||||
host="https://management.azure.com/", aad_host="https://login.microsoftonline.com/",
|
||||
config_file=NULL, token=NULL)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче