C# 클래스 Xamarin.Auth.Authenticator.Authenticator

파일 보기 프로젝트 열기: nachocove/Xamarin.Auth

공개 메소드들

메소드 설명
Authenticator ( ) : System

Initializes a new instance of the Xamarin.Auth.Authenticator class.

BeginInvokeOnUIThread ( System.Action action ) : void
GetUI ( ) : UIKit.UIViewController

Gets the UI for this authenticator.

GetUI ( Android.Content.Context context ) : UIKit.UIViewController
OnCancelled ( ) : void

Implementations must call this function when they have cancelled the operation.

OnError ( Exception exception ) : void

Implementations must call this function when they have failed to authenticate.

OnError ( string message ) : void

Implementations must call this function when they have failed to authenticate.

OnSucceeded ( Account account ) : void

Implementations must call this function when they have successfully authenticated.

OnSucceeded ( string username, string>.IDictionary accountProperties ) : void

Implementations must call this function when they have successfully authenticated.

보호된 메소드들

메소드 설명
GetPlatformUI ( ) : UIKit.UIViewController

Gets the UI for this authenticator.

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

메소드 상세

Authenticator() 공개 메소드

Initializes a new instance of the Xamarin.Auth.Authenticator class.
public Authenticator ( ) : System
리턴 System

BeginInvokeOnUIThread() 공개 메소드

public BeginInvokeOnUIThread ( System.Action action ) : void
action System.Action
리턴 void

GetPlatformUI() 보호된 추상적인 메소드

Gets the UI for this authenticator.
protected abstract GetPlatformUI ( ) : UIKit.UIViewController
리턴 UIKit.UIViewController

GetPlatformUI() 보호된 추상적인 메소드

protected abstract GetPlatformUI ( Android.Content.Context context ) : UIKit.UIViewController
context Android.Content.Context
리턴 UIKit.UIViewController

GetUI() 공개 메소드

Gets the UI for this authenticator.
public GetUI ( ) : UIKit.UIViewController
리턴 UIKit.UIViewController

GetUI() 공개 메소드

public GetUI ( Android.Content.Context context ) : UIKit.UIViewController
context Android.Content.Context
리턴 UIKit.UIViewController

OnCancelled() 공개 메소드

Implementations must call this function when they have cancelled the operation.
public OnCancelled ( ) : void
리턴 void

OnError() 공개 메소드

Implementations must call this function when they have failed to authenticate.
public OnError ( Exception exception ) : void
exception System.Exception /// The reason that this authentication has failed. ///
리턴 void

OnError() 공개 메소드

Implementations must call this function when they have failed to authenticate.
public OnError ( string message ) : void
message string /// The reason that this authentication has failed. ///
리턴 void

OnSucceeded() 공개 메소드

Implementations must call this function when they have successfully authenticated.
public OnSucceeded ( Account account ) : void
account Account /// The authenticated account. ///
리턴 void

OnSucceeded() 공개 메소드

Implementations must call this function when they have successfully authenticated.
public OnSucceeded ( string username, string>.IDictionary accountProperties ) : void
username string /// User name of the account. ///
accountProperties string>.IDictionary /// Additional data, such as access tokens, that need to be stored with the account. This /// information is secured. ///
리턴 void