3 writes to SessionStore
CookieSessionSample (1)
Startup.cs (1)
23.Configure<ITicketStore>((o, ticketStore) => o.SessionStore = ticketStore);
Microsoft.AspNetCore.Authentication.Test (2)
CookieTests.cs (2)
194o.SessionStore = sessionStore; 229o.SessionStore = sessionStore;
11 references to SessionStore
Microsoft.AspNetCore.Authentication.Cookies (11)
CookieAuthenticationHandler.cs (11)
164if (Options.SessionStore != null) 172ticket = await Options.SessionStore.RetrieveAsync(claim.Value, Context, Context.RequestAborted); 185if (Options.SessionStore != null) 187await Options.SessionStore.RemoveAsync(_sessionKey!, Context, Context.RequestAborted); 262if (Options.SessionStore != null && _sessionKey != null) 264await Options.SessionStore.RenewAsync(_sessionKey, ticket, Context, Context.RequestAborted); 337if (Options.SessionStore != null) 342await Options.SessionStore.RenewAsync(_sessionKey, ticket, Context, Context.RequestAborted); 346_sessionKey = await Options.SessionStore.StoreAsync(ticket, Context, Context.RequestAborted); 390if (Options.SessionStore != null && _sessionKey != null) 392await Options.SessionStore.RemoveAsync(_sessionKey, Context, Context.RequestAborted);