예제 #1
0
 public void GetAzureADToken(AuthSuccessCallback onAuthCompleted, AuthFailedCallback onAuthFailed)
 {
     this.OnAuthSuccess = onAuthCompleted;
     this.OnAuthFailed  = onAuthFailed;
     AccountsSettingsPane.GetForCurrentView().AccountCommandsRequested += OnAccountCommandsRequested;
     AccountsSettingsPane.Show();
 }
예제 #2
0
 public void GetAzureADToken(AuthSuccessCallback onAuthCompleted, AuthFailedCallback onAuthFailed)
 {
     // ダミーの AzureADToken を返す
     onAuthCompleted(new AzureADToken()
     {
         Id       = "Dummy ID",
         Token    = "Dummy Token",
         UserName = "******"
     });
 }