dotnet / dotnet/dotnet-api-docs

Methods API are all missing from the doc on the .NET Core page for the SecurityTokenResolver class

Open
#11,189 2 comments 0 reactions 0 assignees View on GitHub
area-System.Security area-WCF untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

### Describe the issue or suggestion

When we looked at the source code
- NET Framework [SecurityTokenResolver](https://referencesource.microsoft.com/System.IdentityModel/R/883433987bfd09dd.html)
- .NET Core [SecurityTokenResolver](https://github.com/dotnet/wcf/blob/a47960f931a813617a061adc2ba9cabe1816a551/src/System.ServiceModel.Primitives/src/System/IdentityModel/Selectors/SecurityTokenResolver.cs)

They are mostly same, especially method `CreateDefaultSecurityTokenResolver(ReadOnlyCollection, Boolean)` exists in both. But the .NET **Core** page doesn't show these API:
- .NET Framework page for SecurityTokenResolver: https://learn.microsoft.com/en-us/dotnet/api/system.identitymodel.selectors.securitytokenresolver?view=netframework-4.8.1
There are Methods APIs table there
- .NET Core page for SecurityTokenResolver (Take .NET 8 for example): https://learn.microsoft.com/en-us/dotnet/api/system.identitymodel.selectors.securitytokenresolver?view=net-8.0-pp
There is nothing about Methods APIs

This led us to mistakenly conclude that the CreateDefaultSecurityTokenResolver method is incompatible with .NET Core, but actually it is compatible.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.