diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-11-13 17:04:21 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-11-13 17:04:21 -0800 |
commit | e778892f1d9bf964c30ba6a10e50aedf12c2e857 (patch) | |
tree | 73ef8790efd0348348fb64e6cf8d438932635016 /projecttemplates/RelyingPartyLogic/Policies.cs | |
parent | 888abd61a54576ff244533693df77f174f03c2bb (diff) | |
download | DotNetOpenAuth-e778892f1d9bf964c30ba6a10e50aedf12c2e857.zip DotNetOpenAuth-e778892f1d9bf964c30ba6a10e50aedf12c2e857.tar.gz DotNetOpenAuth-e778892f1d9bf964c30ba6a10e50aedf12c2e857.tar.bz2 |
Moved all the project template logic that would be common between MVC and web forms web sites into its own library.
Diffstat (limited to 'projecttemplates/RelyingPartyLogic/Policies.cs')
-rw-r--r-- | projecttemplates/RelyingPartyLogic/Policies.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/projecttemplates/RelyingPartyLogic/Policies.cs b/projecttemplates/RelyingPartyLogic/Policies.cs new file mode 100644 index 0000000..6bf72d3 --- /dev/null +++ b/projecttemplates/RelyingPartyLogic/Policies.cs @@ -0,0 +1,23 @@ +//----------------------------------------------------------------------- +// <copyright file="Policies.cs" company="Andrew Arnott"> +// Copyright (c) Andrew Arnott. All rights reserved. +// </copyright> +//----------------------------------------------------------------------- + +namespace RelyingPartyLogic { + using System; + using System.Collections.Generic; + using System.Linq; + using System.Web; + + public class Policies { + /// <summary> + /// The set of OP Endpoints that we trust pre-verify email addresses before sending them + /// with positive assertions. + /// </summary> + public static readonly Uri[] ProviderEndpointsProvidingTrustedEmails = new Uri[] { + new Uri("https://www.google.com/accounts/o8/ud"), + new Uri("https://open.login.yahooapis.com/openid/op/auth"), + }; + } +} |