예제 #1
0
 public NoBrowserCacheAntiforgery(IOptions <AntiforgeryOptions> antiforgeryOptionsAccessor,
                                  IAntiforgeryTokenGenerator tokenGenerator,
                                  IAntiforgeryTokenSerializer tokenSerializer,
                                  IAntiforgeryTokenStore tokenStore,
                                  ILoggerFactory loggerFactory)
 {
     _defaultAntiforgery = new DefaultAntiforgery(antiforgeryOptionsAccessor,
                                                  tokenGenerator,
                                                  tokenSerializer,
                                                  tokenStore,
                                                  loggerFactory);
 }