C# Class ExampleOAuthChannel.UserAuthorize

Show file Open project: bittercoder/DevDefined.OAuth-Examples

Protected Properties

Property Type Description
Approve global::System.Web.UI.WebControls.Button
Deny global::System.Web.UI.WebControls.Button
consumerKey global::System.Web.UI.WebControls.Label
form1 global::System.Web.UI.HtmlControls.HtmlForm

Private Properties

Property Type Description
ApproveRequestForAccess void
DenyRequestForAccess void
GetTokenString string
RedirectToClient void

Protected Methods

Method Description
Approve_Click ( object sender, EventArgs e ) : void
Deny_Click ( object sender, EventArgs e ) : void

Private Methods

Method Description
ApproveRequestForAccess ( string tokenString ) : void
DenyRequestForAccess ( string tokenString ) : void
GetTokenString ( ) : string
RedirectToClient ( string token, bool granted ) : void

Method Details

Approve_Click() protected method

protected Approve_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

Deny_Click() protected method

protected Deny_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

Property Details

Approve protected property

Approve control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button Approve
return global::System.Web.UI.WebControls.Button

Deny protected property

Deny control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button Deny
return global::System.Web.UI.WebControls.Button

consumerKey protected property

consumerKey control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Label consumerKey
return global::System.Web.UI.WebControls.Label

form1 protected 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
return global::System.Web.UI.HtmlControls.HtmlForm