Class EndpointOptions
Configuration for MapTheFramework(IEndpointRouteBuilder, Action<EndpointOptions>?, bool)
public sealed class EndpointOptions
- Inheritance
-
EndpointOptions
- Inherited Members
Constructors
EndpointOptions(bool)
Configuration for MapTheFramework(IEndpointRouteBuilder, Action<EndpointOptions>?, bool)
public EndpointOptions(bool enableAllRoutesByDefault = true)
Parameters
enableAllRoutesByDefaultbool
Properties
AllowAnonymousAccess
Permit unauthenticated access to public data like anonymous RPCs and public documents.
public bool AllowAnonymousAccess { get; set; }
Property Value
EndpointControllerName
Set the name of the controller-style RPC routes for compatibility with existing customisations.
[Obsolete("Will be removed eventually. Change clients to call '_the'-prefixed routes.")]
public string EndpointControllerName { get; set; }
Property Value
IncludeAccountRoutes
If true, MapTheFramework(IEndpointRouteBuilder, Action<EndpointOptions>?, bool) will map routes for logging in.
public bool IncludeAccountRoutes { get; set; }
Property Value
IncludeControllerStyleRoutes
If true, MapTheFramework(IEndpointRouteBuilder, Action<EndpointOptions>?, bool) will add extra routes for backwards compatibility with controllers.
[Obsolete("Will be removed eventually. Change clients to call '_the'-prefixed routes.")]
public bool IncludeControllerStyleRoutes { get; set; }
Property Value
IncludeDocumentRoutes
If true, MapTheFramework(IEndpointRouteBuilder, Action<EndpointOptions>?, bool) will map routes for reading files and images.
public bool IncludeDocumentRoutes { get; set; }
Property Value
IncludeRPCRoutes
If true, MapTheFramework(IEndpointRouteBuilder, Action<EndpointOptions>?, bool) will map routes for framework RPCs.
public bool IncludeRPCRoutes { get; set; }
Property Value
IncludeStatusRoutes
If true, MapTheFramework(IEndpointRouteBuilder, Action<EndpointOptions>?, bool) will map routes for retrieving version information.
public bool IncludeStatusRoutes { get; set; }
Property Value
IncludeUpdateRoutes
If true, MapTheFramework(IEndpointRouteBuilder, Action<EndpointOptions>?, bool) will map routes for retrieving updates for a WPF application.
public bool IncludeUpdateRoutes { get; set; }
Property Value
RequireRPCAuthorisationPolicies
Require each of the named authorisation policies to invoke RPCs.
public List<string> RequireRPCAuthorisationPolicies { get; }
Property Value
UpdateControllerName
Set the name of the controller-style update routes for compatibility with existing customisations.
[Obsolete("Will be removed eventually. Change clients to call '_the'-prefixed routes.")]
public string UpdateControllerName { get; set; }