OAuthWebSecurity.RequestAuthentication OAuthWebSecurity.RequestAuthentication OAuthWebSecurity.RequestAuthentication Method

Definition

Overloads

RequestAuthentication(String) RequestAuthentication(String) RequestAuthentication(String)

Requests the specified provider to start the authentication by directing users to an external website.

RequestAuthentication(String, String) RequestAuthentication(String, String) RequestAuthentication(String, String)

Requests the specified provider to start the authentication by directing users to an external website, and directs the provider to redirect the user to the specified URL when authentication is successful.

RequestAuthentication(String) RequestAuthentication(String) RequestAuthentication(String)

Requests the specified provider to start the authentication by directing users to an external website.

public static void RequestAuthentication (string provider);
static member RequestAuthentication : string -> unit
Public Shared Sub RequestAuthentication (provider As String)
Parameters
provider
String String String

The OAuth provider.

RequestAuthentication(String, String) RequestAuthentication(String, String) RequestAuthentication(String, String)

Requests the specified provider to start the authentication by directing users to an external website, and directs the provider to redirect the user to the specified URL when authentication is successful.

public static void RequestAuthentication (string provider, string returnUrl);
static member RequestAuthentication : string * string -> unit
Public Shared Sub RequestAuthentication (provider As String, returnUrl As String)
Parameters
provider
String String String

The OAuth provider.

returnUrl
String String String

The URL to return to when authentication is successful.

Applies to