// Copyright (c) Microsoft Open Technologies, Inc. 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;
using Microsoft.AspNet.Security.Notifications;
namespace Microsoft.AspNet.Security.OAuth
{
///
/// Specifies the HTTP response header for the bearer authentication scheme.
///
public class OAuthChallengeContext : BaseContext
{
///
/// Initializes a new
///
/// HTTP environment
/// The www-authenticate header value.
public OAuthChallengeContext(
HttpContext context,
string challenge)
: base(context)
{
Challenge = challenge;
}
///
/// The www-authenticate header value.
///
public string Challenge { get; protected set; }
}
}