| Modifier and Type | Method and Description |
|---|---|
DeviceCodeCredentialBuilder |
DeviceCodeCredentialBuilder.authenticationRecord(AuthenticationRecord authenticationRecord)
Sets the
AuthenticationRecord captured from a previous authentication. |
DeviceCodeCredentialBuilder |
DeviceCodeCredentialBuilder.challengeConsumer(Consumer<DeviceCodeInfo> challengeConsumer)
Sets the consumer to meet the device code challenge.
|
DeviceCodeCredentialBuilder |
DeviceCodeCredentialBuilder.disableAutomaticAuthentication()
Disables the automatic authentication and prevents the
DeviceCodeCredential from automatically
prompting the user. |
DeviceCodeCredentialBuilder |
DeviceCodeCredentialBuilder.tokenCachePersistenceOptions(TokenCachePersistenceOptions tokenCachePersistenceOptions)
Configures the persistent shared token cache options and enables the persistent token cache which is disabled
by default.
|
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.