public class CookieSelector extends Object
Constructor and Description |
---|
CookieSelector() |
Modifier and Type | Method and Description |
---|---|
static AbstractPXCookie |
selectFromTokens(PXContext context,
PXConfiguration pxConfiguration)
This function selects the first working pxCookie it can deserialize without any errors.
|
static AbstractPXCookie |
selectOriginalTokens(PXContext context,
PXConfiguration pxConfiguration)
This function selects the first working pxCookie it can deserialize without any errors.
|
public static AbstractPXCookie selectFromTokens(PXContext context, PXConfiguration pxConfiguration)
context
- - This context should contain the authorization header cookie and/or tokens header.pxConfiguration
- - This context should contain the PxConfiguration class that the perimeterX object was initiated with.public static AbstractPXCookie selectOriginalTokens(PXContext context, PXConfiguration pxConfiguration) throws PXCookieDecryptionException
context
- - This context should contain the cookie header.pxConfiguration
- - This context should contain the PxConfiguration class that the perimeterX object was initiated with.PXCookieDecryptionException
Copyright © 2021 PerimeterX. All rights reserved.