Class OAuthCredential

Inheritance
System.Object
Reveal.Sdk.Data.Credential
OAuthCredential
Namespace: Reveal.Sdk.Data
Assembly: Infragistics.Reveal.DataLayer.dll
Syntax
public class OAuthCredential : Credential

Constructors

OAuthCredential()

Declaration
public OAuthCredential()

Properties

AccessToken

Declaration
public string AccessToken { get; set; }
Property Value
Type Description
System.String

Expiration

An expiration value equal to 0 means that we don't know about an expiration, so we assume it doesn't expire in a way that we can fix with a refresh.

Declaration
public long Expiration { get; set; }
Property Value
Type Description
System.Int64

ExpiresIn

Declaration
public int ExpiresIn { get; set; }
Property Value
Type Description
System.Int32

IdToken

Declaration
public string IdToken { get; set; }
Property Value
Type Description
System.String

ProviderKey

Declaration
public string ProviderKey { get; set; }
Property Value
Type Description
System.String

RefreshToken

Declaration
public string RefreshToken { get; set; }
Property Value
Type Description
System.String

Methods

DecodeJwt()

Declaration
public JWTDecoder DecodeJwt()
Returns
Type Description
Infragistics.JWTDecoder

IsExpired(DateTime, Int64)

Declaration
public bool IsExpired(DateTime now, long toleranceMillis)
Parameters
Type Name Description
System.DateTime now
System.Int64 toleranceMillis
Returns
Type Description
System.Boolean