Interface PasswordlessProperties

All Superinterfaces:
AzureProfileOptionsProvider, TokenCredentialOptionsProvider

public interface PasswordlessProperties extends TokenCredentialOptionsProvider, AzureProfileOptionsProvider
Unified properties for Azure passwordless clients.
  • Method Details

    • getScopes

      String getScopes()
      Get the scopes required for the access token.
      Returns:
      scopes required for the access token
    • setScopes

      void setScopes(String scopes)
      Set the scopes to get the access token.
      Parameters:
      scopes - the scopes required for the access token
    • isPasswordlessEnabled

      boolean isPasswordlessEnabled()
      Whether to enable connections authenticating with Azure AD, default is false.
      Returns:
      Whether to enable connections authenticating with Azure AD.
    • setPasswordlessEnabled

      void setPasswordlessEnabled(boolean passwordlessEnabled)
      Set the passwordlessEnabled value.
      Parameters:
      passwordlessEnabled - the passwordlessEnabled
    • toPasswordlessProperties

      default Properties toPasswordlessProperties()
      Returns:
      converted Properties instance