Interface | Description |
---|---|
CSRFProtector |
Class | Description |
---|---|
CORS |
Provice CORS header manipulation methods
|
CORS.Spec | |
CSRF | |
CSRF.Spec |
Enum | Description |
---|---|
CSRFProtector.Predefined |
Annotation Type | Description |
---|---|
CORS.AllowCredentials |
Mark a controller class or action handler method that needs to add
Access-Control-Allow-Credentials header and set the value to true |
CORS.AllowHeaders |
Mark a controller class or action handler method that needs to add
Access-Control-Allow-Headers header |
CORS.AllowOrigin |
Mark a controller class or action handler method that needs to add
Access-Control-Allow-Origin header |
CORS.Disable |
Mark a controller class or action handler method that must not add any CORS headers irregarding to the global CORS setting
|
CORS.DisallowCredentials |
Mark a controller class or action handler method that needs to add
Access-Control-Allow-Credentials header and set the value to false |
CORS.ExposeHeaders |
Mark a controller class or action handler method that needs to add
Access-Control-Expose-Headers header |
CORS.MaxAge |
Mark a controller class or action handler method that needs to add
Access-Control-Max-Age header |
CSRF.Disable |
Mark a controller class or action handler method that is not subject to CSRF protection.
|
CSRF.Enable |
Mark a controller class or action handler method that requires the CSRF protection.
|
Copyright © 2014–2017 ActFramework. All rights reserved.