Fix stuff

This commit is contained in:
Hao Kung 2015-09-22 16:48:50 -07:00
parent 78d1d0099f
commit 1ef66c9c11
2 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ namespace CookieSessionSample
{
options.AutomaticAuthentication = true;
options.SessionStore = new MemoryCacheTicketStore();
}));
});
app.Run(async context =>
{

View File

@ -12,12 +12,12 @@ namespace Microsoft.AspNet.Authentication.OAuth
public class OAuthEvents : IOAuthEvents
{
/// <summary>
/// Gets or sets the function that is invoked when the Authenticated method is invoked.
/// Gets or sets the function that is invoked when the CreatingTicket method is invoked.
/// </summary>
public Func<OAuthCreatingTicketContext, Task> OnCreatingTicket { get; set; } = context => Task.FromResult(0);
/// <summary>
/// Gets or sets the function that is invoked when the ReturnEndpoint method is invoked.
/// Gets or sets the function that is invoked when the SigningIn method is invoked.
/// </summary>
public Func<SigningInContext, Task> OnSigningIn { get; set; } = context => Task.FromResult(0);