// 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 request header for the bearer authentication scheme.
///
public class OAuthRequestTokenContext : BaseContext
{
///
/// Initializes a new
///
/// HTTP environment
/// The authorization header value.
public OAuthRequestTokenContext(
HttpContext context,
string token)
: base(context)
{
Token = token;
}
///
/// The authorization header value
///
public string Token { get; set; }
}
}