Show / Hide Table of Contents

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.

Inheritance
Object
AuthInfo
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: DeviceOAuth2
Assembly: DeviceOAuth2.dll
Syntax
public sealed class AuthInfo

Properties

| Improve this Doc View Source

DeviceCode

The device code that represents the current authorization instance.

Declaration
public string DeviceCode { get; }
Property Value
Type Description
String
| Improve this Doc View Source

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
| Improve this Doc View Source

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
| Improve this Doc View Source

Timestamp

The UTC timestamp of when the authorization process was started

Declaration
public DateTimeOffset Timestamp { get; }
Property Value
Type Description
DateTimeOffset
| Improve this Doc View Source

UserCode

The authorization code that the user needs to enter at VerificationUri.

Declaration
public string UserCode { get; }
Property Value
Type Description
String
| Improve this Doc View Source

VerificationUri

The Uri the user needs to navigate to and enter the UserCode.

Declaration
public string VerificationUri { get; }
Property Value
Type Description
String
  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX