//-----------------------------------------------------------------------
//
// Copyright (c) Andrew Arnott. All rights reserved.
//
//-----------------------------------------------------------------------
namespace DotNetOpenAuth.OpenId.RelyingParty {
using System;
using System.Collections.Generic;
using System.Text;
///
/// Preferences regarding creation and use of an association between a relying party
/// and provider for authentication.
///
internal enum AssociationPreference {
///
/// Indicates that an association should be created for use in authentication
/// if one has not already been established between the relying party and the
/// selected provider.
///
///
/// Even with this value, if an association attempt fails or the relying party
/// has no application store to recall associations, the authentication may
/// proceed without an association.
///
IfPossible,
///
/// Indicates that an association should be used for authentication only if
/// it happens to already exist.
///
IfAlreadyEstablished,
///
/// Indicates that an authentication attempt should NOT use an OpenID association
/// between the relying party and the provider, even if an association was previously
/// created.
///
Never,
}
}