Table of Contents

Class XboxGameAccount

Namespace: XboxAuthNet.Game.Accounts
Assembly: XboxAuthNet.Game.dll

public class XboxGameAccount : IXboxGameAccount, IComparable

Inheritance

objectXboxGameAccount

Implements

IXboxGameAccount, IComparable

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

XboxGameAccount(ISessionStorage)

public XboxGameAccount(ISessionStorage sessionStorage)

Parameters

sessionStorage ISessionStorage

Properties

Gamertag

public string? Gamertag { get; }

Property Value

string?

Identifier

public string? Identifier { get; }

Property Value

string?

LastAccess

public DateTime LastAccess { get; }

Property Value

DateTime

SessionStorage

public ISessionStorage SessionStorage { get; }

Property Value

ISessionStorage

XboxTokens

public XboxAuthTokens? XboxTokens { get; }

Property Value

XboxAuthTokens?

Methods

CompareTo(object?)

public int CompareTo(object? other)

Parameters

other object?

Returns

int

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object?

Returns

bool

FromSessionStorage(ISessionStorage)

public static XboxGameAccount FromSessionStorage(ISessionStorage sessionStorage)

Parameters

sessionStorage ISessionStorage

Returns

XboxGameAccount

GetHashCode()

public override int GetHashCode()

Returns

int

GetIdentifier()

protected virtual string? GetIdentifier()

Returns

string?

ToString()

public override string ToString()

Returns

string