OpenAuth.RequestAuthentication Method

.NET Framework 4

Request authentication from the provider specified by redirecting the user to the service's login page.

Namespace:  Microsoft.AspNet.Membership.OpenAuth
Assembly:  Microsoft.AspNet.Membership.OpenAuth (in Microsoft.AspNet.Membership.OpenAuth.dll)

Syntax

'Declaration
Public Shared Sub RequestAuthentication ( _
    providerName As String, _
    returnUrl As String _
)
'Usage
Dim providerName As String 
Dim returnUrl As String 

OpenAuth.RequestAuthentication(providerName, _
    returnUrl)
public static void RequestAuthentication(
    string providerName,
    string returnUrl
)
public:
static void RequestAuthentication(
    String^ providerName, 
    String^ returnUrl
)
static member RequestAuthentication : 
        providerName:string * 
        returnUrl:string -> unit
public static function RequestAuthentication(
    providerName : String, 
    returnUrl : String
)

Parameters

  • providerName
    Type: System.String
    The name of the authentication provider.

See Also

Reference

OpenAuth Class

Microsoft.AspNet.Membership.OpenAuth Namespace