LoginController.GetLoginProvider Method

Definition

Gets the ILoginProvider registered with a given loginProvider name or throws an HttpResponseException with an error indicating why it wasn't found.

protected virtual Microsoft.WindowsAzure.Mobile.Service.Security.ILoginProvider GetLoginProvider (System.Collections.Generic.IDictionary<string,System.Collections.Generic.List<Microsoft.WindowsAzure.Mobile.Service.Security.ILoginProvider>> loginProviders, string loginProvider);
abstract member GetLoginProvider : System.Collections.Generic.IDictionary<string, System.Collections.Generic.List<Microsoft.WindowsAzure.Mobile.Service.Security.ILoginProvider>> * string -> Microsoft.WindowsAzure.Mobile.Service.Security.ILoginProvider
override this.GetLoginProvider : System.Collections.Generic.IDictionary<string, System.Collections.Generic.List<Microsoft.WindowsAzure.Mobile.Service.Security.ILoginProvider>> * string -> Microsoft.WindowsAzure.Mobile.Service.Security.ILoginProvider
Protected Overridable Function GetLoginProvider (loginProviders As IDictionary(Of String, List(Of ILoginProvider)), loginProvider As String) As ILoginProvider

Parameters

loginProviders
IDictionary<String,List<ILoginProvider>>

The lookup table or registered ILoginProvider instances.

loginProvider
String

The case-insensitive name of the ILoginProvider to look up.

Returns

A ILoginProvider matching the name.

Applies to