IdentityServer / IdentityServer4.AccessTokenValidation

IdentityServer Access Token Validation for ASP.NET Core
Apache License 2.0
544 stars 214 forks source link

Why are IdentityServerAuthenticationDefaults internal? #117

Closed VictorioBerra closed 5 years ago

VictorioBerra commented 5 years ago

https://github.com/IdentityServer/IdentityServer4.AccessTokenValidation/blob/594d8040e5b0aec4d9a9295a6eb5e9f68921432b/src/IdentityServerAuthenticationDefaults.cs#L16

This means I can't reference those if I need to call AddIdentityServerAuthentication twice and later reference the scheme i want, like in an Authorize Attribute for example.

leastprivilege commented 5 years ago

They are internal for a good reason: they are only used internally. You use whatever scheme you specify when adding the handler.