Show / Hide Table of Contents

Class TokenInfo

Information about an OAuth2 token.

Inheritance
Object
TokenInfo
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 TokenInfo

Properties

| Improve this Doc View Source

AccessToken

The access token used by the app to access the endpoint's associated api and authorized scope.

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

CanRefresh

Indicator if this token is refreshable

Declaration
public bool CanRefresh { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

Expiry

The Expiration time of the access token. Will be DateTime.MaxValue if refresh is unknown or unsupported by the endpoint.

Declaration
public DateTime Expiry { get; set; }
Property Value
Type Description
DateTime
| Improve this Doc View Source

RefreshToken

A token that can be used to refresh the access token. Null if endpoint doesn't support refresh.

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

Scheme

The Auth scheme to use with the AccessToken.

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

Site

The name of the site that the token is associated with.

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