// 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 System; using System.Collections.Generic; using Microsoft.AspNet.Http.Interfaces.Security; namespace Microsoft.AspNet.Http.Core.Security { public class SignOutContext : ISignOutContext { private List _accepted; public SignOutContext([NotNull] IEnumerable authenticationTypes) { AuthenticationTypes = authenticationTypes; _accepted = new List(); } public IEnumerable AuthenticationTypes { get; private set; } public IEnumerable Accepted { get { return _accepted; } } public void Accept(string authenticationType, IDictionary description) { _accepted.Add(authenticationType); } } }