Skip to content
Prompty

DeviceAuthorization

Provider-neutral device authorization challenge shown to a user.

---
title: DeviceAuthorization
config:
  look: handDrawn
  theme: colorful
  class:
    hideEmptyMembersBox: true
---
classDiagram
    class DeviceAuthorization {
        +string deviceCode
        +string userCode
        +string verificationUri
        +int64 expiresIn
        +int64 interval
        +string message
    }
Name Type Description
deviceCode string The device code used when polling the token endpoint
userCode string The short code the user enters at the verification URI
verificationUri string The URI where the user authorizes the device
expiresIn int64 Lifetime of the device authorization in seconds
interval int64 Minimum polling interval in seconds
message string Human-readable authorization instructions