C# Class SteamAuth.SteamGuardAccount

Datei anzeigen Open project: geel9/SteamAuth Class Usage Examples

Private Properties

Property Type Description
_generateConfirmationHashForTime string
_getConfirmationDetails ConfirmationDetailsResponse
_sendConfirmationAjax bool
_sendMultiConfirmationAjax bool

Public Methods

Method Description
AcceptConfirmation ( Confirmation conf ) : bool
AcceptMultipleConfirmations ( Confirmation confs ) : bool
DeactivateAuthenticator ( int scheme = 2 ) : bool
DenyConfirmation ( Confirmation conf ) : bool
DenyMultipleConfirmations ( Confirmation confs ) : bool
FetchConfirmations ( ) : SteamAuth.Confirmation[]
FetchConfirmationsAsync ( ) : Task
GenerateConfirmationQueryParams ( string tag ) : string
GenerateConfirmationQueryParamsAsNVC ( string tag ) : NameValueCollection
GenerateConfirmationURL ( string tag = "conf" ) : string
GenerateSteamGuardCode ( ) : string
GenerateSteamGuardCodeForTime ( long time ) : string
GetConfirmationTradeOfferID ( Confirmation conf ) : long
RefreshSession ( ) : bool

Refreshes the Steam session. Necessary to perform confirmations if your session has expired or changed.

RefreshSessionAsync ( ) : Task

Refreshes the Steam session. Necessary to perform confirmations if your session has expired or changed.

Private Methods

Method Description
_generateConfirmationHashForTime ( long time, string tag ) : string
_getConfirmationDetails ( Confirmation conf ) : ConfirmationDetailsResponse
_sendConfirmationAjax ( Confirmation conf, string op ) : bool
_sendMultiConfirmationAjax ( Confirmation confs, string op ) : bool

Method Details

AcceptConfirmation() public method

public AcceptConfirmation ( Confirmation conf ) : bool
conf Confirmation
return bool

AcceptMultipleConfirmations() public method

public AcceptMultipleConfirmations ( Confirmation confs ) : bool
confs Confirmation
return bool

DeactivateAuthenticator() public method

public DeactivateAuthenticator ( int scheme = 2 ) : bool
scheme int
return bool

DenyConfirmation() public method

public DenyConfirmation ( Confirmation conf ) : bool
conf Confirmation
return bool

DenyMultipleConfirmations() public method

public DenyMultipleConfirmations ( Confirmation confs ) : bool
confs Confirmation
return bool

FetchConfirmations() public method

public FetchConfirmations ( ) : SteamAuth.Confirmation[]
return SteamAuth.Confirmation[]

FetchConfirmationsAsync() public method

public FetchConfirmationsAsync ( ) : Task
return Task

GenerateConfirmationQueryParams() public method

public GenerateConfirmationQueryParams ( string tag ) : string
tag string
return string

GenerateConfirmationQueryParamsAsNVC() public method

public GenerateConfirmationQueryParamsAsNVC ( string tag ) : NameValueCollection
tag string
return System.Collections.Specialized.NameValueCollection

GenerateConfirmationURL() public method

public GenerateConfirmationURL ( string tag = "conf" ) : string
tag string
return string

GenerateSteamGuardCode() public method

public GenerateSteamGuardCode ( ) : string
return string

GenerateSteamGuardCodeForTime() public method

public GenerateSteamGuardCodeForTime ( long time ) : string
time long
return string

GetConfirmationTradeOfferID() public method

public GetConfirmationTradeOfferID ( Confirmation conf ) : long
conf Confirmation
return long

RefreshSession() public method

Refreshes the Steam session. Necessary to perform confirmations if your session has expired or changed.
public RefreshSession ( ) : bool
return bool

RefreshSessionAsync() public method

Refreshes the Steam session. Necessary to perform confirmations if your session has expired or changed.
public RefreshSessionAsync ( ) : Task
return Task