public final class WebActivityAuthentication extends Object
| Constructor and Description |
|---|
WebActivityAuthentication() |
| Modifier and Type | Method and Description |
|---|---|
SecretBase |
password()
Get the password property: Password for the PFX file or basic authentication / Secret when used for
ServicePrincipal.
|
SecretBase |
pfx()
Get the pfx property: Base64-encoded contents of a PFX file or Certificate when used for ServicePrincipal.
|
Object |
resource()
Get the resource property: Resource for which Azure Auth token will be requested when using MSI Authentication.
|
String |
type()
Get the type property: Web activity authentication (Basic/ClientCertificate/MSI/ServicePrincipal).
|
Object |
username()
Get the username property: Web activity authentication user name for basic authentication or ClientID when used
for ServicePrincipal.
|
Object |
userTenant()
Get the userTenant property: TenantId for which Azure Auth token will be requested when using ServicePrincipal
Authentication.
|
void |
validate()
Validates the instance.
|
WebActivityAuthentication |
withPassword(SecretBase password)
Set the password property: Password for the PFX file or basic authentication / Secret when used for
ServicePrincipal.
|
WebActivityAuthentication |
withPfx(SecretBase pfx)
Set the pfx property: Base64-encoded contents of a PFX file or Certificate when used for ServicePrincipal.
|
WebActivityAuthentication |
withResource(Object resource)
Set the resource property: Resource for which Azure Auth token will be requested when using MSI Authentication.
|
WebActivityAuthentication |
withType(String type)
Set the type property: Web activity authentication (Basic/ClientCertificate/MSI/ServicePrincipal).
|
WebActivityAuthentication |
withUsername(Object username)
Set the username property: Web activity authentication user name for basic authentication or ClientID when used
for ServicePrincipal.
|
WebActivityAuthentication |
withUserTenant(Object userTenant)
Set the userTenant property: TenantId for which Azure Auth token will be requested when using ServicePrincipal
Authentication.
|
public String type()
public WebActivityAuthentication withType(String type)
type - the type value to set.public SecretBase pfx()
public WebActivityAuthentication withPfx(SecretBase pfx)
pfx - the pfx value to set.public Object username()
public WebActivityAuthentication withUsername(Object username)
username - the username value to set.public SecretBase password()
public WebActivityAuthentication withPassword(SecretBase password)
password - the password value to set.public Object resource()
public WebActivityAuthentication withResource(Object resource)
resource - the resource value to set.public Object userTenant()
public WebActivityAuthentication withUserTenant(Object userTenant)
userTenant - the userTenant value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.