Don't remove the need for a verification code without understanding what it is protecting against, and weighing the risk against your use case and threat model. Don't use the signin/verifyState message to pass sensitive data (e.g., access tokens) directly to your bot in plain...
This code is for a Single Page Application (SPA) and doesn't represent the pattern to use with model-driven apps, Power Apps components framework (PCF) components, or Power pages. Use the Xrm.WebApi (Client API), Code components WebAPI, and Power Pages Portals Web API for th...
Visual Studio Code or another code editor. Node ASP.NET Core Python Flask Register a new app in the Microsoft Entra admin center with the following configuration. For more information, see Register an application. Name: identity-client-web-app Supported account types: Accounts in this organizat...
Use dark colors for code blocksCopy ...editor.snappingOptions.enabled =true;editor.snappingOptions.featureSources = [{layer: graphicsLayer }]; Tooltips, labels and sketching with constraints Thetooltipsandsegment labelsprovide useful information when creating or updating existing features. They can be ...
This will start a local React server on localhost:3000 and you should see a page like this:The sample app experience manages access through an Amazon Cognito User Pool, which was deployed to your AWS account as part of the AWS CDK deployment. Creating an account will add your user to the...
A daemon app code sample quickstart that shows how to acquire an access token to call a protected web API by using Microsoft identity platform
Other samples and snippets require the .NET Framework and will run on Windows platforms, and will need the Developer Pack for the target Framework version. Creating new samples If you wish to add a code sample: Your sample must be part of a buildable project. Where possible, the projects ...
I'm not going to go into detail about the GDI operations (as they are so well documented elsewhere) and I have sacrified good practice like exception handling for clarity, but the code above will set a persistent Image of the web page loaded in the WebBrowser control which can be saved...
InCreate new topic, forTopic name, enter a name for the topic (for example,CodeBuildDemoTopic). (If you choose a different name, substitute it throughout this sample.) ChooseCreate topic. On theTopic details: CodeBuildDemoTopicpage, copy theTopic ARNvalue. You need this value for the nex...
For more information about the requirements for running the sample code provided in this SDK, seeUse the sample and helper code. Example This sample shows how to use the paging cookie in a QueryExpression query to retrieve successive pages of query results. It uses theIOrganizationService.Retriev...