ServiceTokenHandler::TryGetLoginProvider Method (String^, ILoginProvider^%)

 

Gets the ILoginProvider registered with a given name or returns null if one wasn't found.

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

protected:
virtual bool TryGetLoginProvider(
	String^ name,
	[OutAttribute] ILoginProvider^% loginProvider
)

Parameters

name
Type: System::String^

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

loginProvider
Type: Microsoft.WindowsAzure.Mobile.Service.Security::ILoginProvider^%

The matching ILoginProvider or null if none were found.

Return Value

Type: System::Boolean

true if a matching ILoginProvider was found; otherwise, false.

Return to top
Show: