Uses of Class
com.azure.identity.DeviceCodeCredentialBuilder
-
Uses of DeviceCodeCredentialBuilder in com.azure.identity
Modifier and TypeMethodDescriptionDeviceCodeCredentialBuilder.additionallyAllowedTenants
(String... additionallyAllowedTenants) For multi-tenant applications, specifies additional tenants for which the credential may acquire tokens.DeviceCodeCredentialBuilder.additionallyAllowedTenants
(List<String> additionallyAllowedTenants) For multi-tenant applications, specifies additional tenants for which the credential may acquire tokens.DeviceCodeCredentialBuilder.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.