net8.0.NETStandard2.0
Library for creating authentication tokens for agents using Microsoft Agent SDK
Published
Apr 30, 2025
1y ago
Total Downloads
1.1M
1,111,216
Install
dotnet add package Microsoft.Agents.Authentication --version 1.1.10-beta-g85ab16e4d9
| Product | Versions |
|---|---|
| .NET | |
| .NET Standard |
README
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.
Changes from Previous Version
v1.1.1-betav1.1.10-beta-g85ab16e4d9
Added Frameworks
.NETStandard2.0
Added Dependencies
Microsoft.Agents.Core(.NETStandard2.0)
Microsoft.Extensions.Configuration(.NETStandard2.0)
Microsoft.Extensions.Configuration.Binder(.NETStandard2.0)
Microsoft.Extensions.DependencyInjection(.NETStandard2.0)
Microsoft.Extensions.Logging(.NETStandard2.0)
System.Configuration.ConfigurationManager(.NETStandard2.0)
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
This version is marked prerelease. Validate its API and upgrade path before production use.No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.