C# Class Xamarin.Auth.WebAuthenticator.WebAuthenticator

Inheritance: Authenticator
Mostra file Open project: nachocove/Xamarin.Auth

Public Methods

Method Description
ClearCookies ( ) : void

Clears all cookies.

GetInitialUrlAsync ( ) : Task

Method that returns the initial URL to be displayed in the web browser.

OnPageLoaded ( Uri url ) : void

Event handler called when a new page has been loaded in the web browser. Implementations should call Authenticator.OnSucceeded(Xamarin.Auth.Account) if this page signifies a successful authentication.

OnPageLoading ( Uri url ) : void

Event handler called when a new page is being loaded in the web browser.

Protected Methods

Method Description
GetPlatformUI ( ) : UIKit.UIViewController

Gets the UI for this authenticator.

GetPlatformUI ( Android.Content.Context context ) : UIKit.UIViewController

Gets the UI for this authenticator.

OnBrowsingCompleted ( ) : void

Raises the browsing completed event.

Method Details

ClearCookies() public static method

Clears all cookies.
public static ClearCookies ( ) : void
return void

GetInitialUrlAsync() public abstract method

Method that returns the initial URL to be displayed in the web browser.
public abstract GetInitialUrlAsync ( ) : Task
return Task

GetPlatformUI() protected method

Gets the UI for this authenticator.
protected GetPlatformUI ( ) : UIKit.UIViewController
return UIKit.UIViewController

GetPlatformUI() protected method

Gets the UI for this authenticator.
protected GetPlatformUI ( Android.Content.Context context ) : UIKit.UIViewController
context Android.Content.Context
return UIKit.UIViewController

OnBrowsingCompleted() protected method

Raises the browsing completed event.
protected OnBrowsingCompleted ( ) : void
return void

OnPageLoaded() public abstract method

Event handler called when a new page has been loaded in the web browser. Implementations should call Authenticator.OnSucceeded(Xamarin.Auth.Account) if this page signifies a successful authentication.
public abstract OnPageLoaded ( Uri url ) : void
url System.Uri /// The URL of the page. ///
return void

OnPageLoading() public method

Event handler called when a new page is being loaded in the web browser.
public OnPageLoading ( Uri url ) : void
url System.Uri /// The URL of the page. ///
return void