Helper class for maintaining discovery cookie.
More...
#include <shibsp/lite/CommonDomainCookie.h>
|
| | CommonDomainCookie (const char *cookie) |
| | Parses a cookie for reading or writing.
|
| |
| const std::vector< std::string > & | get () const |
| | Returns list of IdPs stored in cookie.
|
| |
| const char * | set (const char *entityID) |
| | Adds/moves an IdP to the front of the list.
|
| |
|
|
static const char | CDCName [] |
| | Name of cookie ("_saml_idp")
|
| |
Helper class for maintaining discovery cookie.
◆ CommonDomainCookie()
| opensaml::CommonDomainCookie::CommonDomainCookie |
( |
const char * | cookie | ) |
|
Parses a cookie for reading or writing.
- Parameters
-
| cookie | the raw cookie value |
◆ get()
| const std::vector< std::string > & opensaml::CommonDomainCookie::get |
( |
| ) |
const |
Returns list of IdPs stored in cookie.
- Returns
- reference to vector of entityIDs
◆ set()
| const char * opensaml::CommonDomainCookie::set |
( |
const char * | entityID | ) |
|
Adds/moves an IdP to the front of the list.
- Parameters
-
| entityID | name of IdP to add |
- Returns
- new value of cookie
The documentation for this class was generated from the following file: