Gå til hovedinnhold

Denne nettleseren støttes ikke lenger.

Oppgrader til Microsoft Edge for å dra nytte av de nyeste funksjonene, sikkerhetsoppdateringene og den nyeste tekniske støtten.

Last ned Microsoft Edge Mer info om Internet Explorer og Microsoft Edge
Les på engelsk Rediger

Microsoft Identity Web documentation

Add authentication and authorization to your .NET applications and polyglot microservices with the Microsoft identity platform.

Get started

Overview

  • What is Microsoft.Identity.Web?
  • NuGet packages

Quickstart

  • Sign in users in a web app
  • Protect a web API
  • Call APIs from a daemon app

Authentication and credentials

Concept

  • Credentials overview
  • Certificateless authentication
  • Certificates
  • Client secrets
  • Token decryption

How-To Guide

  • Configure token caching
  • Troubleshoot token caches
  • Set up authorization

Microsoft Entra SDK for AgentID

Overview

  • What is the Agent ID SDK?
  • Comparison with Microsoft.Identity.Web

Get started

  • Installation and deployment
  • Configuration reference
  • Security best practices

Tutorial

  • Validate authorization headers
  • Call downstream APIs
  • Use managed identity
  • Integrate from TypeScript
  • Integrate from Python

Framework support

How-To Guide

  • .NET Aspire
  • ASP.NET Framework and .NET Standard
  • MSAL.NET with Microsoft.Identity.Web
  • OWIN integration

Reference

  • Migrate to IDownstreamApi
  • Graph service client

Call downstream APIs

Concept

  • Choose an API calling approach
  • Token binding (mTLS)
  • Agent identities

How-To Guide

  • Call APIs from web apps
  • Call APIs from web APIs
  • Call Microsoft Graph
  • Call Azure SDKs
  • Call custom APIs
nb-no
Personvernvalgene
  • Ansvarsfraskrivelse for kunstig intelligens
  • Tidligere versjoner
  • Blogg
  • Bidra
  • Personvern
  • Personvern for forbrukertilstand
  • Vilkår for bruk
  • Varemerker
  • © Microsoft 2026