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

Add CookieBuilder to CookieTempDataProviderOptions and obsolete duplicate API #6472

Merged
merged 1 commit into from
Jul 5, 2017

Conversation

natemcmaster
Copy link
Contributor

Addresses aspnet/HttpAbstractions#853.

Uses the new CookieBuilder API added here: aspnet/HttpAbstractions#882.

cc @Tratcher

@@ -30,7 +30,7 @@ public void SaveTempData_UsesCookieName_FromOptions()
var expectedDataInCookie = Base64UrlTextEncoder.Encode(expectedDataToProtect);
var tempDataProvider = GetProvider(dataProtector: null, options: new CookieTempDataProviderOptions()
{
CookieName = exepectedCookieName
Cookie = { Name = exepectedCookieName }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: butchered exepected

@natemcmaster natemcmaster force-pushed the namc/cookie-builder branch from b6a30f7 to 788619b Compare July 3, 2017 19:06
@natemcmaster natemcmaster requested a review from javiercn July 3, 2017 19:09
@natemcmaster
Copy link
Contributor Author

🔔

@natemcmaster natemcmaster merged commit 1eb7f9e into dev Jul 5, 2017
@natemcmaster natemcmaster deleted the namc/cookie-builder branch July 5, 2017 17:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants