LoginController.GetLoginProvider Method (IDictionary(Of String, List(Of ILoginProvider)), String)

 

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

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Controllers
Assembly:  Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)

Protected Overridable Function GetLoginProvider (
	loginProviders As IDictionary(Of String, List(Of ILoginProvider)),
	loginProvider As String
) As ILoginProvider

Parameters

loginProviders
Type: System.Collections.Generic.IDictionary(Of String, List(Of ILoginProvider))

The lookup table or registered ILoginProvider instances.

loginProvider
Type: System.String

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

Return to top
Show: