aspnetcore/src/Microsoft.AspNet.Authentica.../Notifications/MessageReceivedNotification.cs

21 lines
735 B
C#

// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNet.Http;
namespace Microsoft.AspNet.Authentication
{
public class MessageReceivedNotification<TMessage, TOptions> : BaseNotification<TOptions>
{
public MessageReceivedNotification(HttpContext context, TOptions options) : base(context, options)
{
}
public TMessage ProtocolMessage { get; set; }
/// <summary>
/// Bearer Token. This will give application an opportunity to retrieve token from an alternation location.
/// </summary>
public string Token { get; set; }
}
}