diff options
Diffstat (limited to 'samples/DotNetOpenAuth.ApplicationBlock')
3 files changed, 5 insertions, 1 deletions
diff --git a/samples/DotNetOpenAuth.ApplicationBlock/CustomExtensions/AcmeRequest.cs b/samples/DotNetOpenAuth.ApplicationBlock/CustomExtensions/AcmeRequest.cs index 19a3a0e..e3effdf 100644 --- a/samples/DotNetOpenAuth.ApplicationBlock/CustomExtensions/AcmeRequest.cs +++ b/samples/DotNetOpenAuth.ApplicationBlock/CustomExtensions/AcmeRequest.cs @@ -24,6 +24,8 @@ namespace DotNetOpenAuth.ApplicationBlock.CustomExtensions { get { return Enumerable.Empty<string>(); } } + public bool IsSignedByRemoteParty { get; set; } + #endregion #region IMessage Members diff --git a/samples/DotNetOpenAuth.ApplicationBlock/CustomExtensions/AcmeResponse.cs b/samples/DotNetOpenAuth.ApplicationBlock/CustomExtensions/AcmeResponse.cs index 38185bd..62551e6 100644 --- a/samples/DotNetOpenAuth.ApplicationBlock/CustomExtensions/AcmeResponse.cs +++ b/samples/DotNetOpenAuth.ApplicationBlock/CustomExtensions/AcmeResponse.cs @@ -43,6 +43,8 @@ namespace DotNetOpenAuth.ApplicationBlock.CustomExtensions { get { return Enumerable.Empty<string>(); } } + public bool IsSignedByRemoteParty { get; set; } + #endregion #region IMessage Members diff --git a/samples/DotNetOpenAuth.ApplicationBlock/GoogleConsumer.cs b/samples/DotNetOpenAuth.ApplicationBlock/GoogleConsumer.cs index f0a4c03..4bcca86 100644 --- a/samples/DotNetOpenAuth.ApplicationBlock/GoogleConsumer.cs +++ b/samples/DotNetOpenAuth.ApplicationBlock/GoogleConsumer.cs @@ -190,7 +190,7 @@ namespace DotNetOpenAuth.ApplicationBlock { /// </summary> /// <param name="scope">The scope, which may include one or several Google applications.</param> /// <returns>A space-delimited list of URIs for the requested Google applications.</returns> - private static string GetScopeUri(Applications scope) { + public static string GetScopeUri(Applications scope) { return string.Join(" ", Util.GetIndividualFlags(scope).Select(app => DataScopeUris[(Applications)app]).ToArray()); } } |