Class CsrfTokenGeneratorMatcher
java.lang.Object
org.pac4j.core.matching.matcher.csrf.CsrfTokenGeneratorMatcher
- All Implemented Interfaces:
Matcher
Matcher which creates a new CSRF token and adds it as a request attribute and as a cookie (AngularJS).
- Since:
- 4.0.0
- Author:
- Jerome Leleu
-
Constructor Summary
ConstructorDescriptionCsrfTokenGeneratorMatcher
(CsrfTokenGenerator csrfTokenGenerator) Constructor for CsrfTokenGeneratorMatcher. -
Method Summary
-
Constructor Details
-
CsrfTokenGeneratorMatcher
Constructor for CsrfTokenGeneratorMatcher.
- Parameters:
csrfTokenGenerator
- aCsrfTokenGenerator
object
-
-
Method Details