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; }
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; }