C# 클래스 Microsoft.WindowsAzure.MobileServices.Test.LoginTests

Platform-specific Login Tests for the Windows Phone Silverlight 8.1 platform.
파일 보기 프로젝트 열기: Azure/azure-mobile-apps-net-client 1 사용 예제들

공개 메소드들

메소드 설명
ExecuteTest ( string testName, Func test ) : Task

Utility method that can be used to execute a test. It will capture any exceptions throw during the execution of the test and return a message with details of the exception thrown.

TestRefreshUserAsync ( MobileServiceAuthenticationProvider provider ) : Task

Tests the MobileServiceClient.RefreshUserAsync functionality on the platform.

TestRefreshUserAsync ( MobileServiceAuthenticationProvider provider, bool useSingleSignOn ) : Task

Tests the MobileServiceClient.RefreshUserAsync functionality on the platform.

비공개 메소드들

메소드 설명
GetGoogleAccessToken ( string mobileServiceUri, string mobileServiceAuthenticationToken ) : Task

Tests the MobileServiceClient.RefreshUserAsync functionality of Google

RevokeGoogleAccessToken ( string googleAccessToken ) : Task
TestAADRefreshUserAsync ( ) : Task

Tests the MobileServiceClient.LoginAsync and MobileServiceClient.RefreshUserAsync functionality of WindowsAzureActiveDirectory

TestAADRefreshUserAsync ( bool useSingleSignOn ) : Task

Tests the MobileServiceClient.LoginAsync and MobileServiceClient.RefreshUserAsync functionality of WindowsAzureActiveDirectory

TestCRUDAsync ( string tableName, bool tableRequiresAuthentication, bool userIsAuthenticated ) : Task
TestFacebookRefreshUserAsync ( ) : Task

Tests the MobileServiceClient.LoginAsync and MobileServiceClient.RefreshUserAsync functionality of Facebook

TestFacebookRefreshUserAsync ( bool useSingleSignOn ) : Task

Tests the MobileServiceClient.LoginAsync and MobileServiceClient.RefreshUserAsync functionality of Facebook

TestGoogleRefreshUserAsync ( ) : Task

Tests the MobileServiceClient.LoginAsync and MobileServiceClient.RefreshUserAsync functionality of Google

TestGoogleRefreshUserAsync ( bool useSingleSignOn ) : Task

Tests the MobileServiceClient.LoginAsync and MobileServiceClient.RefreshUserAsync functionality of Google

TestLogoutAsync ( ) : Task
TestMicrosoftAccountRefreshUserAsync ( ) : Task

Tests the MobileServiceClient.LoginAsync and MobileServiceClient.RefreshUserAsync functionality of MicrosoftAccount

TestMicrosoftAccountRefreshUserAsync ( bool useSingleSignOn ) : Task

Tests the MobileServiceClient.LoginAsync and MobileServiceClient.RefreshUserAsync functionality of MicrosoftAccount, with MobileServiceTable CRUD operations

TestTwitterRefreshUserAsync ( ) : Task

Tests the MobileServiceClient.LoginAsync and MobileServiceClient.RefreshUserAsync functionality of Twitter

TestTwitterRefreshUserAsync ( bool useSingleSignOn ) : Task

Tests the MobileServiceClient.LoginAsync and MobileServiceClient.RefreshUserAsync functionality of Twitter

ValidateExpectedFailure ( string attemptedAction, string tableName, bool crudShouldWork, bool tableRequiresAuth, MobileServiceInvalidOperationException innerException ) : void

메소드 상세

ExecuteTest() 공개 정적인 메소드

Utility method that can be used to execute a test. It will capture any exceptions throw during the execution of the test and return a message with details of the exception thrown.
public static ExecuteTest ( string testName, Func test ) : Task
testName string The name of the test being executed. ///
test Func A test to execute. ///
리턴 Task

TestRefreshUserAsync() 공개 정적인 메소드

Tests the MobileServiceClient.RefreshUserAsync functionality on the platform.
public static TestRefreshUserAsync ( MobileServiceAuthenticationProvider provider ) : Task
provider MobileServiceAuthenticationProvider /// The provider with which to login. ///
리턴 Task

TestRefreshUserAsync() 공개 정적인 메소드

Tests the MobileServiceClient.RefreshUserAsync functionality on the platform.
public static TestRefreshUserAsync ( MobileServiceAuthenticationProvider provider, bool useSingleSignOn ) : Task
provider MobileServiceAuthenticationProvider /// The provider with which to login. ///
useSingleSignOn bool /// use single sign-on to login the user. ///
리턴 Task