Uses of Class
com.azure.identity.DeviceCodeCredentialBuilder
-
Uses of DeviceCodeCredentialBuilder in com.azure.identity
Methods in com.azure.identity that return DeviceCodeCredentialBuilderModifier 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 theAuthenticationRecordcaptured from a previous authentication.DeviceCodeCredentialBuilder.challengeConsumer(Consumer<DeviceCodeInfo> challengeConsumer) Sets the consumer to meet the device code challenge.Sets the client ID of the Microsoft Entra application that users will sign in to.DeviceCodeCredentialBuilder.disableAutomaticAuthentication()Disables the automatic authentication and prevents theDeviceCodeCredentialfrom 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.