summaryrefslogtreecommitdiffstats
path: root/projecttemplates/WebFormsRelyingParty/Code
diff options
context:
space:
mode:
Diffstat (limited to 'projecttemplates/WebFormsRelyingParty/Code')
-rw-r--r--projecttemplates/WebFormsRelyingParty/Code/Policies.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/projecttemplates/WebFormsRelyingParty/Code/Policies.cs b/projecttemplates/WebFormsRelyingParty/Code/Policies.cs
new file mode 100644
index 0000000..676b3f2
--- /dev/null
+++ b/projecttemplates/WebFormsRelyingParty/Code/Policies.cs
@@ -0,0 +1,23 @@
+//-----------------------------------------------------------------------
+// <copyright file="Policies.cs" company="Andrew Arnott">
+// Copyright (c) Andrew Arnott. All rights reserved.
+// </copyright>
+//-----------------------------------------------------------------------
+
+namespace WebFormsRelyingParty.Code {
+ 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"),
+ };
+ }
+}