Exemplo n.º 1
0
 public ManagedServiceIdentityParameters(
     PowerShellTokenCacheProvider tokenCacheProvider,
     IAzureEnvironment environment,
     IAzureTokenCache tokenCache,
     string tenantId,
     string resourceId,
     IAzureAccount account) : base(tokenCacheProvider, environment, tokenCache, tenantId, resourceId)
 {
     Account = account;
 }
Exemplo n.º 2
0
 public SilentParameters(
     PowerShellTokenCacheProvider tokenCacheProvider,
     IAzureEnvironment environment,
     IAzureTokenCache tokenCache,
     string tenantId,
     string resourceId,
     string userId,
     string homeAccountId) : base(tokenCacheProvider, environment, tokenCache, tenantId, resourceId)
 {
     UserId        = userId;
     HomeAccountId = homeAccountId;
 }
 public InteractiveParameters(
     PowerShellTokenCacheProvider tokenCacheProvider,
     IAzureEnvironment environment,
     IAzureTokenCache tokenCache,
     string tenantId,
     string resourceId,
     string userId,
     string homeAccountId,
     Action <string> promptAction) : base(tokenCacheProvider, environment, tokenCache, tenantId, resourceId, userId, homeAccountId)
 {
     PromptAction = promptAction;
 }
 public ClientAssertionParameters(
     PowerShellTokenCacheProvider tokenCacheProvider,
     IAzureEnvironment environment,
     IAzureTokenCache tokenCache,
     string tenantId,
     string resourceId,
     string clientId,
     SecureString clientAssertion) : base(tokenCacheProvider, environment, tokenCache, tenantId, resourceId)
 {
     this.ClientId        = clientId;
     this.ClientAssertion = clientAssertion;
 }
Exemplo n.º 5
0
 public AuthenticationParameters(
     PowerShellTokenCacheProvider tokenCacheProvider,
     IAzureEnvironment environment,
     IAzureTokenCache tokenCache,
     string tenantId,
     string resourceId)
 {
     TokenCacheProvider = tokenCacheProvider;
     Environment        = environment;
     TokenCache         = tokenCache;
     TenantId           = tenantId;
     ResourceId         = resourceId;
 }
 public UsernamePasswordParameters(
     PowerShellTokenCacheProvider tokenCacheProvider,
     IAzureEnvironment environment,
     IAzureTokenCache tokenCache,
     string tenantId,
     string resourceId,
     string userId,
     SecureString password,
     string homeAccountId) : base(tokenCacheProvider, environment, tokenCache, tenantId, resourceId)
 {
     UserId        = userId;
     Password      = password;
     HomeAccountId = homeAccountId;
 }
 public ServicePrincipalParameters(
     PowerShellTokenCacheProvider tokenCacheProvider,
     IAzureEnvironment environment,
     IAzureTokenCache tokenCache,
     string tenantId,
     string resourceId,
     string applicationId,
     string thumbprint,
     SecureString secret) : base(tokenCacheProvider, environment, tokenCache, tenantId, resourceId)
 {
     ApplicationId = applicationId;
     Thumbprint    = thumbprint;
     Secret        = secret;
 }
Exemplo n.º 8
0
 public ServicePrincipalParameters(
     PowerShellTokenCacheProvider tokenCacheProvider,
     IAzureEnvironment environment,
     IAzureTokenCache tokenCache,
     string tenantId,
     string resourceId,
     string applicationId,
     string thumbprint,
     string certificatePath,
     SecureString certificateSecret,
     SecureString secret,
     bool?sendCertificateChain) : base(tokenCacheProvider, environment, tokenCache, tenantId, resourceId)
 {
     ApplicationId        = applicationId;
     Thumbprint           = thumbprint;
     Secret               = secret;
     SendCertificateChain = sendCertificateChain;
     CertificatePath      = certificatePath;
     CertificateSecret    = certificateSecret;
 }