コード例 #1
0
 internal static AssertionCredential AcquireToken(this Microsoft.WindowsAzure.ActiveDirectory.Authentication.AuthenticationContext self, Uri targetService, IdentityProviderDescriptor identityProvider, Credential credential)
 {
     return(self.AcquireToken(targetService.ToString(), identityProvider, credential));
 }
コード例 #2
0
 internal static IList <IdentityProviderDescriptor> GetProviders(this Microsoft.WindowsAzure.ActiveDirectory.Authentication.AuthenticationContext self, Uri targetService)
 {
     Contract.Requires <ArgumentNullException>(targetService != null);
     return(self.GetProviders(targetService.ToString()));
 }