Interface TokenCredentialOptionsProvider.TokenCredentialOptions
- All Known Implementing Classes:
TokenCredentialProperties
- Enclosing interface:
- TokenCredentialOptionsProvider
public static interface TokenCredentialOptionsProvider.TokenCredentialOptions
Interface to be implemented by classes that wish to describe the token credential related options.
-
Method Summary
Modifier and TypeMethodDescriptionGet the client certificate passwordGet the client certificate pathGet the client idGet the client secretGet the passwordGet the usernameboolean
Whether to enable managed identity to authenticate with Azure.
-
Method Details
-
getClientId
String getClientId()Get the client id- Returns:
- the client id
-
getClientSecret
String getClientSecret()Get the client secret- Returns:
- the client secret
-
getClientCertificatePath
String getClientCertificatePath()Get the client certificate path- Returns:
- the client certificate path
-
getClientCertificatePassword
String getClientCertificatePassword()Get the client certificate password- Returns:
- the client certificate password
-
getUsername
String getUsername()Get the username- Returns:
- the username
-
getPassword
String getPassword()Get the password- Returns:
- the password
-
isManagedIdentityEnabled
boolean isManagedIdentityEnabled()Whether to enable managed identity to authenticate with Azure.- Returns:
- Is managed identity enabled.
-