AuthDeviceAuthorizationRequest constructor

const AuthDeviceAuthorizationRequest({
  1. required String deviceCode,
  2. required String userCode,
  3. required String verificationUri,
  4. required Duration expiresIn,
  5. required Duration interval,
})

Creates the one-time response that starts a device authorization flow.

Raw deviceCode and formatted userCode are delivery credentials and should be returned only to the device client or verification UI.

Implementation

const AuthDeviceAuthorizationRequest({
  required this.deviceCode,
  required this.userCode,
  required this.verificationUri,
  required this.expiresIn,
  required this.interval,
});