Skip to content
This repository was archived by the owner on Dec 13, 2018. It is now read-only.

Commit 559ad22

Browse files
author
Nate McMaster
committed
fixup! fixup! Replace configure method on Twitter, RemoteAuthentication, and OpenIdConnect options with CookieBuilder
1 parent ff80c71 commit 559ad22

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/Microsoft.AspNetCore.Authentication.OpenIdConnect/OpenIdConnectOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ public CookieBuilder NonceCookie
282282
set => _nonceCookieBuilder = value ?? throw new ArgumentNullException(nameof(value));
283283
}
284284

285-
private class OpenIdConnectNonceCookieBuilder : RequestPathCookieBuilder
285+
private class OpenIdConnectNonceCookieBuilder : RequestPathBaseCookieBuilder
286286
{
287287
private readonly OpenIdConnectOptions _options;
288288

src/Microsoft.AspNetCore.Authentication/Internal/RequestPathCookieBuilder.cs renamed to src/Microsoft.AspNetCore.Authentication/Internal/RequestPathBaseCookieBuilder.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
namespace Microsoft.AspNetCore.Authentication.Internal
88
{
99
/// <summary>
10-
/// A cookie builder that set <see cref="CookieOptions.Path"/> to the original path base plus some scope.
10+
/// A cookie builder that sets <see cref="CookieOptions.Path"/> to the request path base.
1111
/// </summary>
12-
public class RequestPathCookieBuilder : CookieBuilder
12+
public class RequestPathBaseCookieBuilder : CookieBuilder
1313
{
1414
/// <summary>
15-
/// Optional additional path that is appended to the request path base.
15+
/// Gets an optional value that is appended to the request path base.
1616
/// </summary>
1717
protected virtual string AdditionalPath { get; }
1818

src/Microsoft.AspNetCore.Authentication/RemoteAuthenticationOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public CookieBuilder CorrelationIdCookie
112112
set => _correlationIdCookieBuilder = value ?? throw new ArgumentNullException(nameof(value));
113113
}
114114

115-
private class CorrelationIdCookieBuilder : RequestPathCookieBuilder
115+
private class CorrelationIdCookieBuilder : RequestPathBaseCookieBuilder
116116
{
117117
private readonly RemoteAuthenticationOptions _options;
118118

0 commit comments

Comments
 (0)