Example #1
0
 internal AntiForgeryWorker(IAntiForgeryTokenSerializer serializer, IAntiForgeryConfig config, ITokenStore tokenStore, ITokenValidator validator)
 {
     _serializer = serializer;
     _config = config;
     _tokenStore = tokenStore;
     _validator = validator;
 }
Example #2
0
 internal AntiForgeryWorker(IAntiForgeryTokenSerializer serializer, IAntiForgeryConfig config, ITokenStore tokenStore, ITokenValidator validator)
 {
     _serializer = serializer;
     _config     = config;
     _tokenStore = tokenStore;
     _validator  = validator;
 }
 internal AntiForgeryTokenStore(
     IAntiForgeryConfig config,
     IAntiForgeryTokenSerializer serializer
     )
 {
     _config     = config;
     _serializer = serializer;
 }
 internal ClaimUidExtractor(
     IAntiForgeryConfig config,
     ClaimsIdentityConverter claimsIdentityConverter
     )
 {
     _config = config;
     _claimsIdentityConverter = claimsIdentityConverter;
 }
Example #5
0
 internal TokenValidator(IAntiForgeryConfig config, IClaimUidExtractor claimUidExtractor)
 {
     _config            = config;
     _claimUidExtractor = claimUidExtractor;
 }
Example #6
0
 internal TokenValidator(IAntiForgeryConfig config, IClaimUidExtractor claimUidExtractor)
 {
     _config = config;
     _claimUidExtractor = claimUidExtractor;
 }
 // for unit testing
 internal AntiForgeryTokenStore(IAntiForgeryConfig config, IAntiForgeryTokenSerializer serializer)
 {
     _config = config;
     _serializer = serializer;
 }
 internal ClaimUidExtractor(IAntiForgeryConfig config, ClaimsIdentityConverter claimsIdentityConverter)
 {
     _config = config;
     _claimsIdentityConverter = claimsIdentityConverter;
 }