OAuthWebSecurity.RegisterMicrosoftClient Method

Definition

Overloads

RegisterMicrosoftClient(String, String)

Registers a Microsoft client with the specified identifier.

RegisterMicrosoftClient(String, String, String)

Registers a Microsoft client with the specified identifier.

RegisterMicrosoftClient(String, String, String, IDictionary<String,Object>)

Registers a Microsoft client with the specified identifier.

RegisterMicrosoftClient(String, String)

Registers a Microsoft client with the specified identifier.

public static void RegisterMicrosoftClient (string clientId, string clientSecret);
static member RegisterMicrosoftClient : string * string -> unit
Public Shared Sub RegisterMicrosoftClient (clientId As String, clientSecret As String)

Parameters

clientId
String

The client ID.

clientSecret
String

The client secret.

Applies to

RegisterMicrosoftClient(String, String, String)

Registers a Microsoft client with the specified identifier.

public static void RegisterMicrosoftClient (string clientId, string clientSecret, string displayName);
static member RegisterMicrosoftClient : string * string * string -> unit
Public Shared Sub RegisterMicrosoftClient (clientId As String, clientSecret As String, displayName As String)

Parameters

clientId
String

The client ID.

clientSecret
String

The client secret.

displayName
String

The display name.

Applies to

RegisterMicrosoftClient(String, String, String, IDictionary<String,Object>)

Registers a Microsoft client with the specified identifier.

public static void RegisterMicrosoftClient (string clientId, string clientSecret, string displayName, System.Collections.Generic.IDictionary<string,object> extraData);
static member RegisterMicrosoftClient : string * string * string * System.Collections.Generic.IDictionary<string, obj> -> unit
Public Shared Sub RegisterMicrosoftClient (clientId As String, clientSecret As String, displayName As String, extraData As IDictionary(Of String, Object))

Parameters

clientId
String

The client ID.

clientSecret
String

The client secret.

displayName
String

The display name.

extraData
IDictionary<String,Object>

An extra data.

Applies to