Uses of Class
com.azure.identity.DeviceCodeCredentialBuilder
Package
Description
Package containing various types of credentials and classes
for retrieving access tokens from various configurations.
-
Uses of DeviceCodeCredentialBuilder in com.azure.identity
Modifier and TypeMethodDescriptionDeviceCodeCredentialBuilder.authenticationRecord
(AuthenticationRecord authenticationRecord) Sets theAuthenticationRecord
captured from a previous authentication.DeviceCodeCredentialBuilder.challengeConsumer
(Consumer<DeviceCodeInfo> challengeConsumer) Sets the consumer to meet the device code challenge.DeviceCodeCredentialBuilder.disableAutomaticAuthentication()
Disables the automatic authentication and prevents theDeviceCodeCredential
from automatically prompting the user.DeviceCodeCredentialBuilder.tokenCachePersistenceOptions
(TokenCachePersistenceOptions tokenCachePersistenceOptions) Configures the persistent shared token cache options and enables the persistent token cache which is disabled by default.