//----------------------------------------------------------------------- // // Copyright (c) Outercurve Foundation. All rights reserved. // //----------------------------------------------------------------------- namespace DotNetOpenAuth.OpenId.Provider { /// /// The result codes that may be returned from an attempt at relying party discovery. /// public enum RelyingPartyDiscoveryResult { /// /// Relying Party discovery failed to find an XRDS document or the document was invalid. /// /// /// This can happen either when a relying party does not offer a service document at all, /// or when a man-in-the-middle attack is in progress that prevents the Provider from being /// able to discover that document. /// NoServiceDocument, /// /// Relying Party discovery yielded a valid XRDS document, but no matching return_to URI was found. /// /// /// This is perhaps the most dangerous rating for a relying party, since it suggests that /// they are implementing OpenID 2.0 securely, but that a hijack operation may be in progress. /// NoMatchingReturnTo, /// /// Relying Party discovery succeeded, and a matching return_to URI was found. /// Success, } }