Microsoft.Agents.Authentication 0.2.271-alpha

Prefix Reserved
This is a prerelease version of Microsoft.Agents.Authentication.
dotnet add package Microsoft.Agents.Authentication --version 0.2.271-alpha
                    
NuGet\Install-Package Microsoft.Agents.Authentication -Version 0.2.271-alpha
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.Agents.Authentication" Version="0.2.271-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.Agents.Authentication" Version="0.2.271-alpha" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.Agents.Authentication" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.Agents.Authentication --version 0.2.271-alpha
                    
#r "nuget: Microsoft.Agents.Authentication, 0.2.271-alpha"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Microsoft.Agents.Authentication&version=0.2.271-alpha&prerelease
                    
Install Microsoft.Agents.Authentication as a Cake Addin
#tool nuget:?package=Microsoft.Agents.Authentication&version=0.2.271-alpha&prerelease
                    
Install Microsoft.Agents.Authentication as a Cake Tool

Microsoft.Agents.Authentication

Defines core Authentication and token retrieval functionality.

Main Types

  • IAccessTokenProvider
  • IConnections: Returns an IAccessTokenProvider based on name or matching criteria.
  • ConfigurationConnections: Loads IConnections using configuration.

ConfigurationConnections

  • Configuration-based token connections
  • Map of named connections
  "Connections": {
    "ServiceConnection": {
      "Assembly": "{{provider-assembly-name}}",
      "Type": "{{provider-type-name}}",
      "Settings": {
          {{provider-specific-settings}}
      }
    }
  }

Note that provider type loading only works if the provider package has been added as a dependency in your project.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Microsoft.Agents.Authentication:

Package Downloads
Microsoft.Agents.Client

Library for communicating with other Agents using Microsoft Agent SDK

Microsoft.Agents.Authentication.Msal

Library for creating authentication tokens for agents using MSAL in Microsoft Agent SDK

Microsoft.Agents.BotBuilder

Library for creating agents using Microsoft Agent SDK

Microsoft.Agents.Builder

Library for creating agents using Microsoft Agent SDK

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.2.271-alpha 57 3/29/2025
0.2.267-alpha 89 3/28/2025
0.2.257-alpha 95 3/27/2025
0.2.180-alpha 435 3/26/2025
0.2.171-alpha 436 3/21/2025
0.2.162-alpha 189 3/19/2025
0.2.154-alpha 244 3/18/2025
0.2.153-alpha 106 3/15/2025
0.2.151-alpha 135 3/14/2025
0.2.146-alpha 245 3/12/2025
0.2.141-alpha 204 3/8/2025
0.2.137-alpha 294 3/7/2025
0.1.26 1,392 11/18/2024