Class User
Represents a 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
Type | Description |
---|---|
OAuthCredentials |
Device
Declaration
public Device Device { get; }
Property Value
Type | Description |
---|---|
Device |
IsDev
Declaration
public bool IsDev { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsLoggedIn
Declaration
public bool IsLoggedIn { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
UserID
Declaration
public string UserID { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
RefreshToken(Action<Exception>)
Declaration
public async void RefreshToken(Action<Exception> callback = null)
Parameters
Type | Name | Description |
---|---|---|
System.Action<System.Exception> | callback |
RefreshTokenAsync()
Declaration
public async Task<OAuthCredentials> RefreshTokenAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<OAuthCredentials> |