public ArmClient(IArmTokenManager tokenManager, string currentTenant, int retryCount)
 {
     _retryCount    = retryCount;
     _tokenManager  = tokenManager;
     _currentTenant = currentTenant;
     _random        = new Random();
 }
 public PublishFunctionApp(IArmManager armManager, ISettings settings, ISecretsManager secretsManager, IArmTokenManager tokenManager)
     : base(armManager)
 {
     _settings       = settings;
     _secretsManager = secretsManager;
     _tokenManager   = tokenManager;
 }
Пример #3
0
 public ArmClient(IArmTokenManager tokenManager, ISettings settings, int retryCount)
 {
     _retryCount   = retryCount;
     _tokenManager = tokenManager;
     _settings     = settings;
     _random       = new Random();
 }
Пример #4
0
 public ArmManager(ISettings settings, IArmTokenManager tokenManager)
 {
     _settings     = settings;
     _tokenManager = tokenManager;
     _client       = new ArmClient(tokenManager, settings.CurrentTenant, retryCount: 3);
 }
Пример #5
0
 public LoginAction(IArmManager armManager, ISettings settings, IArmTokenManager tokenManager)
     : base(armManager, settings)
 {
     _tokenManager = tokenManager;
 }
 public LogoutAction(IArmTokenManager tokenManager)
 {
     _tokenManager = tokenManager;
 }
Пример #7
0
 public ListFunctionsActions(IArmManager armManager, ISettings settings, IArmTokenManager tokenManager) : base(armManager)
 {
     _settings     = settings;
     _tokenManager = tokenManager;
 }