//------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------------
using System;
using System.Collections.ObjectModel;
namespace System.IdentityModel.Tokens
{
///
/// This class is used to specify the context of an authentication event.
///
public class AuthenticationContext
{
Collection _authorities;
string _contextClass;
string _contextDeclaration;
///
/// Creates an instance of AuthenticationContext.
///
public AuthenticationContext()
{
_authorities = new Collection();
}
///
/// The collection of authorities for resolving an authentication event.
///
public Collection Authorities
{
get { return _authorities; }
}
///
/// The context class for resolving an authentication event.
///
public string ContextClass
{
get { return _contextClass; }
set { _contextClass = value; }
}
///
/// The context declaration for resolving an authentication event.
///
public string ContextDeclaration
{
get { return _contextDeclaration; }
set { _contextDeclaration = value; }
}
}
}