Interface PasswordlessProperties
- All Superinterfaces:
AzureProfileOptionsProvider,TokenCredentialOptionsProvider
public interface PasswordlessProperties
extends TokenCredentialOptionsProvider, AzureProfileOptionsProvider
Unified properties for Azure passwordless clients.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.azure.spring.cloud.core.provider.AzureProfileOptionsProvider
AzureProfileOptionsProvider.AzureEnvironmentOptions, AzureProfileOptionsProvider.CloudType, AzureProfileOptionsProvider.ProfileOptionsNested classes/interfaces inherited from interface com.azure.spring.cloud.core.provider.authentication.TokenCredentialOptionsProvider
TokenCredentialOptionsProvider.TokenCredentialOptions -
Method Summary
Modifier and TypeMethodDescriptionGet the scopes required for the access token.booleanWhether to enable connections authenticating with Azure AD, default is false.voidsetPasswordlessEnabled(boolean passwordlessEnabled) Set the passwordlessEnabled value.voidSet the scopes to get the access token.default PropertiesConvertPasswordlessPropertiestoProperties.Methods inherited from interface com.azure.spring.cloud.core.provider.AzureProfileOptionsProvider
getProfileMethods inherited from interface com.azure.spring.cloud.core.provider.authentication.TokenCredentialOptionsProvider
getCredential
-
Method Details
-
getScopes
String getScopes()Get the scopes required for the access token.- Returns:
- scopes required for the access token
-
setScopes
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
ConvertPasswordlessPropertiestoProperties.- Returns:
- converted
Propertiesinstance
-