Class EndpointOptionsExtensions
- Namespace
- Fdyay.IdentityServer.Configuration
- Assembly
- Fdyay.IdentityServer.AspNetCore.dll
Maps a protocol endpoint to the EndpointsOptions flag that switches it on or off.
public static class EndpointOptionsExtensions
- Inheritance
-
EndpointOptionsExtensions
- Inherited Members
Methods
IsEndpointEnabled(EndpointsOptions, Endpoint)
Whether endpoint should serve requests.
public static bool IsEndpointEnabled(this EndpointsOptions options, Endpoint endpoint)
Parameters
optionsEndpointsOptionsendpointEndpoint
Returns
Remarks
An endpoint whose name is not one of IdentityServerConstants.EndpointNames is enabled: the options only describe the built-in endpoints, and a host that registers its own has no flag here to consult. Defaulting those off would disable them by silence.