C# Class ConnectsterAuthentication.Default

Inheritance: System.Web.UI.Page
Afficher le fichier Open project: shopster/NconnectSter

Protected Properties

Свойство Type Description
form1 global::System.Web.UI.HtmlControls.HtmlForm
myDiv global::System.Web.UI.HtmlControls.HtmlGenericControl

Méthodes protégées

Méthode Description
DoShopsterOAuth ( ) : void
OnPreRender ( object sender, EventArgs e ) : void
Page_Load ( object sender, EventArgs e ) : void

Private Methods

Méthode Description
HashString ( string value ) : string

Hashes(MD5) the given value. Typically used as "HashString(shopsterSecret + storeAuthToken)"

NextIsBackToShopify ( ) : bool
NextIsOAuth ( ) : bool
StoreUserInDatabase ( ) : bool
TestToken ( ) : bool

Tests that "t" is a valid key by making an API call.

Method Details

DoShopsterOAuth() protected méthode

protected DoShopsterOAuth ( ) : void
Résultat void

OnPreRender() protected méthode

protected OnPreRender ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

Page_Load() protected méthode

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

Property Details

form1 protected_oe property

form1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlForm form1
Résultat global::System.Web.UI.HtmlControls.HtmlForm

myDiv protected_oe property

myDiv control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl myDiv
Résultat global::System.Web.UI.HtmlControls.HtmlGenericControl