### YamlMime:JavaType
uid: "com.azure.identity.DeviceCodeCredential"
fullName: "com.azure.identity.DeviceCodeCredential"
name: "DeviceCodeCredential"
nameWithType: "DeviceCodeCredential"
summary: "An AAD credential that acquires a token with a device code for an AAD application."
inheritances:
- ""
inheritedMembers:
- "java.lang.Object.clone()"
- "java.lang.Object.equals(java.lang.Object)"
- "java.lang.Object.finalize()"
- "java.lang.Object.getClass()"
- "java.lang.Object.hashCode()"
- "java.lang.Object.notify()"
- "java.lang.Object.notifyAll()"
- "java.lang.Object.toString()"
- "java.lang.Object.wait()"
- "java.lang.Object.wait(long)"
- "java.lang.Object.wait(long,int)"
syntax: "public class DeviceCodeCredential implements TokenCredential"
methods:
- "com.azure.identity.DeviceCodeCredential.authenticate()"
- "com.azure.identity.DeviceCodeCredential.authenticate(com.azure.core.credential.TokenRequestContext)"
- "com.azure.identity.DeviceCodeCredential.getToken(com.azure.core.credential.TokenRequestContext)"
type: "class"
implements:
- ""
metadata: {}
package: "com.azure.identity"
artifact: com.azure:azure-identity:1.5.4