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 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.