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.ProfileOptions
Nested 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.boolean
Whether to enable connections authenticating with Azure AD, default is false.void
setPasswordlessEnabled
(boolean passwordlessEnabled) Set the passwordlessEnabled value.void
Set the scopes to get the access token.default Properties
ConvertPasswordlessProperties
toProperties
.Methods inherited from interface com.azure.spring.cloud.core.provider.AzureProfileOptionsProvider
getProfile
Methods 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
ConvertPasswordlessProperties
toProperties
.- Returns:
- converted
Properties
instance
-