SPMobileUtility.GetClaimsAuthenticationProvider method
Gets the specified Claims Authentication provider from the current. context.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function GetClaimsAuthenticationProvider ( _
provider As String, _
context As HttpContext _
) As SPAuthenticationProvider
'Usage
Dim provider As String
Dim context As HttpContext
Dim returnValue As SPAuthenticationProvider
returnValue = SPMobileUtility.GetClaimsAuthenticationProvider(provider, _
context)
public static SPAuthenticationProvider GetClaimsAuthenticationProvider(
string provider,
HttpContext context
)
Parameters
provider
Type: System.StringName of the Claims Authentication provider to get.
context
Type: System.Web.HttpContextCurrent HttpContext.
Return value
Type: Microsoft.SharePoint.Administration.SPAuthenticationProvider