Share via


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.String

    Name of the Claims Authentication provider to get.

Return value

Type: Microsoft.SharePoint.Administration.SPAuthenticationProvider

See also

Reference

SPMobileUtility class

SPMobileUtility members

Microsoft.SharePoint.Utilities namespace