OAuth code example
The following examples show a simple desktop implementation used to get an access and refresh token. The example does not support the recommended state query parameter.
If you use the Bing Ads .NET SDK, you should use it to get your OAuth access and refresh tokens. For information, see Getting Started.
Example | Description |
---|---|
CodeGrantFlow | A browser control that gets the user's credentials, requests permissions for your application to access their resources, and returns the access and refresh tokens. |
Call CodeGrantFlow | A test app that shows how to call the CodeGrantFlow DLL to get an access and refresh token. |
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za