Class User

Represents a user

Inheritance

System.Object
User

Inherited Members

System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: STREAMSIX.Auth
Assembly: cs.temp.dll.dll

Syntax

public class User

Properties

Credentials

Declaration

public OAuthCredentials Credentials { get; }

Property Value

TypeDescription
OAuthCredentials

Device

Declaration

public Device Device { get; }

Property Value

TypeDescription
Device

IsDev

Declaration

public bool IsDev { get; }

Property Value

TypeDescription
System.Boolean

IsLoggedIn

Declaration

public bool IsLoggedIn { get; }

Property Value

TypeDescription
System.Boolean

UserID

Declaration

public string UserID { get; }

Property Value

TypeDescription
System.String

Methods

RefreshToken(Action<Exception>)

Declaration

public async void RefreshToken(Action<Exception> callback = null)

Parameters

TypeNameDescription
System.Action<System.Exception>callback

RefreshTokenAsync()

Declaration

public async Task<OAuthCredentials> RefreshTokenAsync()

Returns

TypeDescription
System.Threading.Tasks.Task<OAuthCredentials>