//-----------------------------------------------------------------------
//
// Copyright (c) Outercurve Foundation. All rights reserved.
//
//-----------------------------------------------------------------------
namespace DotNetOpenAuth.OpenId.RelyingParty {
///
/// An enumeration of the possible results of an authentication attempt.
///
public enum AuthenticationStatus {
///
/// The authentication was canceled by the user agent while at the provider.
///
Canceled,
///
/// The authentication failed because an error was detected in the OpenId communication.
///
Failed,
///
/// The Provider responded to a request for immediate authentication approval
/// with a message stating that additional user agent interaction is required
/// before authentication can be completed.
/// Casting the to a
/// ISetupRequiredAuthenticationResponse in this case can help
/// you retry the authentication using setup (non-immediate) mode.
///
SetupRequired,
///
/// Authentication is completed successfully.
///
Authenticated,
///
/// The Provider sent a message that did not contain an identity assertion,
/// but may carry OpenID extensions.
///
ExtensionsOnly,
}
}