Class AuthSteamService

Class AuthSteamService#

Inheritance Relationships#

Base Type#

Class Documentation#

class xbe.sdk.Services.AuthSteamService : xbe.sdk.ServiceBase#

Public Types

enum AuthMethod#

Describes the supported authentication methods for Steam.

Values:

APP_TICKET#

Authenticate using the Steam Encrypted App Ticket API.

OPENID#

Authenticate using the Steam OpenID Connect API.

SESSION_TOKEN#

Authenticate using the Steam User Session Token API.

Public Functions

AuthSteamService ()#
Task<AuthToken> Authenticate (AuthMethod method, string token)#

Retrieves a new authorization access token using a Steam Encrypted App Ticket or User Session Token.

Return:

A task whose result is the authentication token.

Task<AuthToken> Authenticate (AuthMethod method, Dictionary<string, string> query)

Retrieves a new authorization access token using the Steam OpenID Connect API.

Return:

A task whose result is the authentication token.

Task<AuthToken> Connect (AuthMethod method, string token, bool force = false)#

Retrieves a new authorization access token using a Steam Encrypted App Ticket or User Session Token.

Return:

A task whose result is the authentication token.

Task<AuthToken> Connect (AuthMethod method, Dictionary<string, string> query, bool force = false)

Retrieves a new authorization access token using the Steam OpenID Connect API.

Return:

A task whose result is the authentication token.