BearerTokenExtensions
AddBearerToken(AuthenticationBuilder)
AddBearerToken(AuthenticationBuilder, String)
AddBearerToken(AuthenticationBuilder, Action<BearerTokenOptions>)
AddBearerToken(AuthenticationBuilder, String, Action<BearerTokenOptions>)
net9.0
namespace Microsoft.Extensions.DependencyInjection
{
public static class BearerTokenExtensions
{
public static AuthenticationBuilder! AddBearerToken(this AuthenticationBuilder! builder, string! authenticationScheme, Action<BearerTokenOptions!>! configure);
}
}
.NET | 8.09.0 |
---|---|
Information specific to net9.0 | |
Assembly | Microsoft.AspNetCore.Authentication.BearerToken , Version=9.0.0.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Requires any:
|
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API