MessageReceivedContext Class

Namespace
Microsoft.AspNetCore.Authentication.OpenIdConnect
Assemblies
  • Microsoft.AspNetCore.Authentication.OpenIdConnect

Syntax

public class MessageReceivedContext : BaseOpenIdConnectContext
class Microsoft.AspNetCore.Authentication.OpenIdConnect.MessageReceivedContext

Constructors

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

Properties

Microsoft.AspNetCore.Authentication.OpenIdConnect.MessageReceivedContext.Properties
Return type:Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties
public AuthenticationProperties Properties { get; set; }
Microsoft.AspNetCore.Authentication.OpenIdConnect.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; }