Add cookie management methods #5

Closed
opened 2 years ago by ncc1988 · 2 comments
ncc1988 commented 2 years ago
Owner

Implement methods to manage cookies and cookie policies so that cookies can be sent back if requested and third party cookies can be detected and blocked.

Implement methods to manage cookies and cookie policies so that cookies can be sent back if requested and third party cookies can be detected and blocked.
ncc1988 self-assigned this 2 years ago
ncc1988 added this to the Version 0.0.1 - "Uyghur lives matter!" milestone 2 years ago
Poster
Owner

Ticket #6 needs to be implemented before the cookie management functionality can be implemented.

Ticket #6 needs to be implemented before the cookie management functionality can be implemented.
ncc1988 added the
TODO
label 1 year ago
ncc1988 added the
enhancement
label 1 year ago
ncc1988 added the
wiki-doc-TODO
label 12 months ago
ncc1988 added
DOING
and removed
TODO
labels 10 months ago
Poster
Owner

The management class will be called CookieJar and will lie in the MNE namespace. Methods to be implemented:

  • getDomainCookies: Get all cookies for a domain. An optional parameter can specify, if the cookies of all subdomains shall also be returned.
  • setCookie: Sets a cookie for a domain. If it already exists, it will be overwritten.
  • deleteCookies: Deletes all cookies for a domain.
  • getAllCookies: Returns all stored cookies (for saving them to disk).
  • setAllCookies: Sets all cookies from an exetrn source (for loading all cookies from disk).
  • deleteAllCookies: Deletes all (all!) cookies from the cookie jar.

The data class will be called Cookie and will also lie in the MNE namespace. Tasks to be done:

  • Define the class attributes "value" (cookie content) and "attributes" (expiration date, restrictions, ...).
  • (more stuff)
The management class will be called CookieJar and will lie in the MNE namespace. Methods to be implemented: - [x] getDomainCookies: Get all cookies for a domain. An optional parameter can specify, if the cookies of all subdomains shall also be returned. - [x] setCookie: Sets a cookie for a domain. If it already exists, it will be overwritten. - [x] deleteCookies: Deletes all cookies for a domain. - [x] getAllCookies: Returns all stored cookies (for saving them to disk). - [x] setAllCookies: Sets all cookies from an exetrn source (for loading all cookies from disk). - [x] deleteAllCookies: Deletes all (all!) cookies from the cookie jar. The data class will be called Cookie and will also lie in the MNE namespace. Tasks to be done: - [x] Define the class attributes "value" (cookie content) and "attributes" (expiration date, restrictions, ...). - (more stuff)
ncc1988 removed the
DOING
label 10 months ago
ncc1988 referenced this issue from a commit 10 months ago
ncc1988 removed the
wiki-doc-TODO
label 10 months ago
ncc1988 closed this issue 10 months ago
Sign in to join this conversation.
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Loading…
There is no content yet.