Class ForceOpenIdMiddleWareOptions
- Namespace
- Arc4u.OAuth2.Middleware
- Assembly
- Arc4u.OAuth2.AspNetCore.dll
Configures the ForceOpenIdMiddleWare.
public class ForceOpenIdMiddleWareOptions
- Inheritance
-
ForceOpenIdMiddleWareOptions
- Inherited Members
Properties
ForceAuthenticationForPaths
Gets or sets the paths for which an unauthenticated request is redirected to the OpenID Connect login. A path is matched from the start of the request path, ignoring the case;
is a wildcard matching any characters, for example /swagger. When the list is empty, the middleware does nothing.
public List<string> ForceAuthenticationForPaths { get; set; }
Property Value
RedirectUrlForAuthority
Gets or sets the absolute base url (scheme, host and port) of the application as seen by the users, for example when it runs behind a reverse proxy. After the login the user is redirected to the requested path and query string on this base url. If not set (or not an absolute url), the url of the request is used.
public string RedirectUrlForAuthority { get; set; }