C# Class PollSystem.Account.OpenAuthProviders

Inheritance: System.Web.UI.UserControl
Show file Open project: vladislav-karamfilov/TelerikAcademy Class Usage Examples

Protected Properties

Property Type Description
providerDetails global::System.Web.UI.WebControls.ListView

Public Methods

Method Description
GetExternalLoginRedirectUrl ( string accountProvider ) : string
GetProviderNameFromRequest ( HttpRequest request ) : string
GetProviderNames ( ) : IEnumerable
RedirectToReturnUrl ( string returnUrl, HttpResponse response ) : void

Protected Methods

Method Description
Page_Load ( object sender, EventArgs e ) : void

Private Methods

Method Description
IsLocalUrl ( string url ) : bool

Method Details

GetExternalLoginRedirectUrl() public static method

public static GetExternalLoginRedirectUrl ( string accountProvider ) : string
accountProvider string
return string

GetProviderNameFromRequest() public static method

public static GetProviderNameFromRequest ( HttpRequest request ) : string
request System.Web.HttpRequest
return string

GetProviderNames() public method

public GetProviderNames ( ) : IEnumerable
return IEnumerable

Page_Load() protected method

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

RedirectToReturnUrl() public static method

public static RedirectToReturnUrl ( string returnUrl, HttpResponse response ) : void
returnUrl string
response System.Web.HttpResponse
return void

Property Details

providerDetails protected property

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