Package com.microsoft.azure.util
Class AzureCredentials.ServicePrincipal
java.lang.Object
com.microsoft.azure.util.AzureCredentials.ServicePrincipal
- All Implemented Interfaces:
Serializable
- Enclosing class:
- AzureCredentials
- See Also:
-
Constructor Summary
ConstructorDescriptionServicePrincipal
(String subscriptionId, String clientId, Secret clientSecret) ServicePrincipal
(String subscriptionId, String clientId, String clientSecret) Deprecated.ServicePrincipal
(String subscriptionId, String clientId, String clientSecret, String oauth2TokenEndpoint, String serviceManagementURL, String authenticationEndpoint, String resourceManagerEndpoint, String graphEndpoint) Deprecated.leave for backward compatibility. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.com.azure.core.management.AzureEnvironment
Deprecated.boolean
isBlank()
void
setCertificateId
(String certificateId) boolean
validate()
-
Constructor Details
-
ServicePrincipal
-
ServicePrincipal
Deprecated. -
ServicePrincipal
@Deprecated public ServicePrincipal(String subscriptionId, String clientId, String clientSecret, String oauth2TokenEndpoint, String serviceManagementURL, String authenticationEndpoint, String resourceManagerEndpoint, String graphEndpoint) Deprecated.leave for backward compatibility. -
ServicePrincipal
public ServicePrincipal()
-
-
Method Details
-
getSubscriptionId
-
getClientId
-
getClientSecret
-
getCertificateId
-
setCertificateId
-
getTenant
-
getAzureEnvironmentName
-
getAzureEnvironment
public com.azure.core.management.AzureEnvironment getAzureEnvironment() -
getServiceManagementURL
Deprecated. -
getManagementEndpoint
-
getAuthenticationEndpoint
Deprecated. -
getActiveDirectoryEndpoint
-
getResourceManagerEndpoint
-
getGraphEndpoint
-
isBlank
public boolean isBlank() -
validate
-