diff options
Diffstat (limited to 'src/DotNetOpenAuth.OpenId.Provider/OpenId/Provider/OpenIdProvider.cs')
-rw-r--r-- | src/DotNetOpenAuth.OpenId.Provider/OpenId/Provider/OpenIdProvider.cs | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/DotNetOpenAuth.OpenId.Provider/OpenId/Provider/OpenIdProvider.cs b/src/DotNetOpenAuth.OpenId.Provider/OpenId/Provider/OpenIdProvider.cs index 3b44e59..b89aeca 100644 --- a/src/DotNetOpenAuth.OpenId.Provider/OpenId/Provider/OpenIdProvider.cs +++ b/src/DotNetOpenAuth.OpenId.Provider/OpenId/Provider/OpenIdProvider.cs @@ -202,15 +202,18 @@ namespace DotNetOpenAuth.OpenId.Provider { /// <summary> /// Gets the incoming OpenID request if there is one, or null if none was detected. /// </summary> - /// <returns>The request that the hosting Provider should possibly process and then transmit the response for.</returns> + /// <param name="cancellationToken">The cancellation token.</param> + /// <returns> + /// The request that the hosting Provider should possibly process and then transmit the response for. + /// </returns> + /// <exception cref="InvalidOperationException">Thrown if <see cref="HttpContext.Current">HttpContext.Current</see> == <c>null</c>.</exception> + /// <exception cref="ProtocolException">Thrown if the incoming message is recognized but deviates from the protocol specification irrecoverably.</exception> /// <remarks> - /// <para>Requests may be infrastructural to OpenID and allow auto-responses, or they may + /// <para>Requests may be infrastructural to OpenID and allow auto-responses, or they may /// be authentication requests where the Provider site has to make decisions based /// on its own user database and policies.</para> - /// <para>Requires an <see cref="HttpContext.Current">HttpContext.Current</see> context.</para> + /// <para>Requires an <see cref="HttpContext.Current">HttpContext.Current</see> context.</para> /// </remarks> - /// <exception cref="InvalidOperationException">Thrown if <see cref="HttpContext.Current">HttpContext.Current</see> == <c>null</c>.</exception> - /// <exception cref="ProtocolException">Thrown if the incoming message is recognized but deviates from the protocol specification irrecoverably.</exception> public Task<IRequest> GetRequestAsync(CancellationToken cancellationToken) { return this.GetRequestAsync(this.Channel.GetRequestFromContext(), cancellationToken); } |