OAuthWebSecurity.RegisterMicrosoftClient Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for