예제 #1
0
 internal AntiForgeryWorker(IAntiForgeryTokenSerializer serializer, IAntiForgeryConfig config, ITokenStore tokenStore, ITokenValidator validator)
 {
     _serializer = serializer;
     _config = config;
     _tokenStore = tokenStore;
     _validator = validator;
 }
예제 #2
0
 internal AntiForgeryWorker(IAntiForgeryTokenSerializer serializer, IAntiForgeryConfig config, ITokenStore tokenStore, ITokenValidator validator)
 {
     _serializer = serializer;
     _config     = config;
     _tokenStore = tokenStore;
     _validator  = validator;
 }
예제 #3
0
 internal AntiForgeryTokenStore(
     IAntiForgeryConfig config,
     IAntiForgeryTokenSerializer serializer
     )
 {
     _config     = config;
     _serializer = serializer;
 }
예제 #4
0
 internal ClaimUidExtractor(
     IAntiForgeryConfig config,
     ClaimsIdentityConverter claimsIdentityConverter
     )
 {
     _config = config;
     _claimsIdentityConverter = claimsIdentityConverter;
 }
예제 #5
0
 internal TokenValidator(IAntiForgeryConfig config, IClaimUidExtractor claimUidExtractor)
 {
     _config            = config;
     _claimUidExtractor = claimUidExtractor;
 }
예제 #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;
 }
예제 #8
0
 internal ClaimUidExtractor(IAntiForgeryConfig config, ClaimsIdentityConverter claimsIdentityConverter)
 {
     _config = config;
     _claimsIdentityConverter = claimsIdentityConverter;
 }