Class AuthInfo
Return data from the initial auth request. This includes the VerificationUri and DeviceCode that the user needs to enter in order to authorize the request.
Inherited Members
Namespace: DeviceOAuth2
Assembly: DeviceOAuth2.dll
Syntax
public sealed class AuthInfo
Properties
| Improve this Doc View SourceDeviceCode
The device code that represents the current authorization instance.
Declaration
public string DeviceCode { get; }
Property Value
Type | Description |
---|---|
String |
Expiration
The UTC timestamp of when the authorization process will expire if the user does not grant or deny access.
Declaration
public DateTimeOffset Expiration { get; }
Property Value
Type | Description |
---|---|
DateTimeOffset |
PollInterval
The time, in seconds, to pause between polls to see if the user has authorized the code.
Declaration
public int PollInterval { get; }
Property Value
Type | Description |
---|---|
Int32 |
Timestamp
The UTC timestamp of when the authorization process was started
Declaration
public DateTimeOffset Timestamp { get; }
Property Value
Type | Description |
---|---|
DateTimeOffset |
UserCode
The authorization code that the user needs to enter at VerificationUri.
Declaration
public string UserCode { get; }
Property Value
Type | Description |
---|---|
String |
VerificationUri
The Uri the user needs to navigate to and enter the UserCode.
Declaration
public string VerificationUri { get; }
Property Value
Type | Description |
---|---|
String |