OpenAuth.VerifyAuthentication Method
.NET Framework 4
Verify the provider result on the current request.
Namespace: Microsoft.AspNet.Membership.OpenAuth
Assembly: Microsoft.AspNet.Membership.OpenAuth (in Microsoft.AspNet.Membership.OpenAuth.dll)
Syntax
'Declaration
Public Shared Function VerifyAuthentication ( _
returnUrl As String _
) As AuthenticationResult
'Usage
Dim returnUrl As String
Dim returnValue As AuthenticationResult
returnValue = OpenAuth.VerifyAuthentication(returnUrl)
public static AuthenticationResult VerifyAuthentication(
string returnUrl
)
public:
static AuthenticationResult^ VerifyAuthentication(
String^ returnUrl
)
static member VerifyAuthentication :
returnUrl:string -> AuthenticationResult
public static function VerifyAuthentication(
returnUrl : String
) : AuthenticationResult
Parameters
- returnUrl
Type: System.String
The return URL to be passed to the external authentication provider. This must match the return URL that was passed to the call of RequestAuthentication.
Return Value
Type: AuthenticationResult