MessageReceivedContext Class

Namespace
Microsoft.AspNetCore.Authentication.JwtBearer
Assemblies
  • Microsoft.AspNetCore.Authentication.JwtBearer

Syntax

public class MessageReceivedContext : BaseJwtBearerContext
class Microsoft.AspNetCore.Authentication.JwtBearer.MessageReceivedContext

Constructors

MessageReceivedContext(Microsoft.AspNetCore.Http.HttpContext, Microsoft.AspNetCore.Builder.JwtBearerOptions)
public MessageReceivedContext(HttpContext context, JwtBearerOptions options)

Properties

Microsoft.AspNetCore.Authentication.JwtBearer.MessageReceivedContext.Token

Bearer Token. This will give application an opportunity to retrieve token from an alternation location.

Return type:System.String
public string Token { get; set; }