TomSecretsDeviceCode class final

A device flow's code, as github.signIn answers it.

Constructors

TomSecretsDeviceCode({required String deviceCode, required String userCode, required String verificationUri, required Duration expiresIn, required Duration interval})
A code the user enters at verificationUri.
const

Properties

deviceCode → String
The code the service polls with (never shown).
final
expiresIn → Duration
How long the code is valid.
final
hashCode → int
The hash code for this object.
no setterinherited
interval → Duration
The least time between two polls.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
userCode → String
The code the user enters (WDJB-MJHT).
final
verificationUri → String
Where the user enters it (https://github.com/login/device).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited