namespace OAuth.AspNet.AuthServer { /// /// Data object used by TokenEndpointRequest when the "grant_type" is "authorization_code". /// public class TokenEndpointRequestAuthorizationCode { /// /// The value passed to the Token endpoint in the "code" parameter /// public string Code { get; set; } /// /// The value passed to the Token endpoint in the "redirect_uri" parameter. This MUST be provided by the caller /// if the original visit to the Authorize endpoint contained a "redirect_uri" parameter. /// [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1056:UriPropertiesShouldNotBeStrings", Justification = "By design")] public string RedirectUri { get; set; } } }