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