C# 클래스 InTheHand.Security.Authentication.Web.WebAuthenticationBroker

Starts the authentication operation. You can call the methods of this class multiple times in a single application or across multiple applications at the same time.
PlatformVersion supported Windows UWPWindows 10 Windows StoreWindows 8.1 or later Windows Phone StoreWindows 10 Mobile Windows Phone SilverlightWindows Phone 8.0 or later
파일 보기 프로젝트 열기: inthehand/Charming

공개 메소드들

메소드 설명
AuthenticateAsync ( WebAuthenticationOptions options, Uri requestUri ) : Task

Starts the asynchronous authentication operation with two inputs. You can call this method multiple times in a single application or across multiple applications at the same time.

There is no explicit callbackUri parameter in this method. The application's default URI is used internally as the terminator. For more information, see GetCurrentApplicationCallbackUri. This method must be called on the UI thread. When this method is used, session state or persisted cookies are retained across multiple calls from the same or different apps.

AuthenticateAsync ( WebAuthenticationOptions options, Uri requestUri, Uri callbackUri ) : Task

Starts the asynchronous authentication operation with three inputs. You can call this method multiple times in a single application or across multiple applications at the same time.

When this method is used, no session state or persisted cookies are retained across multiple calls from the same or different apps. This method must be called on the UI thread.

GetCurrentApplicationCallbackUri ( ) : Uri

Gets the current application callback URI.

The current application callback URI is used as an implicit value of the callbackUri parameter of the AuthenticateAsync method. However, applications need the URI value to add it to the request URI as required by the online provider.

비공개 메소드들

메소드 설명
WaitResponse ( ) : Task

메소드 상세

AuthenticateAsync() 공개 정적인 메소드

Starts the asynchronous authentication operation with two inputs. You can call this method multiple times in a single application or across multiple applications at the same time.
There is no explicit callbackUri parameter in this method. The application's default URI is used internally as the terminator. For more information, see GetCurrentApplicationCallbackUri. This method must be called on the UI thread. When this method is used, session state or persisted cookies are retained across multiple calls from the same or different apps.
public static AuthenticateAsync ( WebAuthenticationOptions options, Uri requestUri ) : Task
options WebAuthenticationOptions The options for the authentication operation.
requestUri Uri The starting URI of the web service. This URI must be a secure address of https://.
리턴 Task

AuthenticateAsync() 공개 정적인 메소드

Starts the asynchronous authentication operation with three inputs. You can call this method multiple times in a single application or across multiple applications at the same time.
When this method is used, no session state or persisted cookies are retained across multiple calls from the same or different apps. This method must be called on the UI thread.
public static AuthenticateAsync ( WebAuthenticationOptions options, Uri requestUri, Uri callbackUri ) : Task
options WebAuthenticationOptions The options for the authentication operation.
requestUri Uri The starting URI of the web service. This URI must be a secure address of https://.
callbackUri Uri The callback URI that indicates the completion of the web authentication. /// The broker matches this URI against every URI that it is about to navigate to. /// The broker never navigates to this URI, instead the broker returns the control back to the application when the user clicks a link or a web server redirection is made.
리턴 Task

GetCurrentApplicationCallbackUri() 공개 정적인 메소드

Gets the current application callback URI.
The current application callback URI is used as an implicit value of the callbackUri parameter of the AuthenticateAsync method. However, applications need the URI value to add it to the request URI as required by the online provider.
public static GetCurrentApplicationCallbackUri ( ) : Uri
리턴 Uri