using Microsoft.AspNet.Http; using Microsoft.IdentityModel.Protocols.OpenIdConnect; namespace Microsoft.AspNet.Authentication.OpenIdConnect { /// /// This Context can be used to be informed when an 'AuthorizationCode' is redeemed for tokens at the token endpoint. /// public class AuthorizationCodeRedeemedContext : BaseControlContext { /// /// Creates a /// public AuthorizationCodeRedeemedContext(HttpContext context, OpenIdConnectAuthenticationOptions options) : base(context, options) { } /// /// Gets or sets the 'code'. /// public string Code { get; set; } /// /// Gets or sets the that contains the tokens and json response received after redeeming the code at the token endpoint. /// public OpenIdConnectTokenEndpointResponse TokenEndpointResponse { get; set; } /// /// Gets or sets the . /// public OpenIdConnectMessage ProtocolMessage { get; set; } } }