package
0.275.0
Repository: https://github.com/prebid/prebid-server.git
Documentation: pkg.go.dev

# Functions

IntSignalParse checks parameter i is not out of bounds and returns a GDPR signal error.
NewPermissions gets a per-request Permissions object that can then be used to check GDPR permissions for a given bidder.
NewPermissionsBuilder takes host config data used to configure the builder function it returns.
NewPurposeEnforcerBuilder creates a new instance of PurposeEnforcerBuilder.
NewTCF2Config creates an instance of tcf2Config which implements the TCF2ConfigReader interface.
No description provided by the author
SignalNormalize normalizes a GDPR signal to ensure it's always either SignalYes or SignalNo.
StrSignalParse returns a parsed GDPR signal or a parse error.
Make a URL which can be used to fetch a given version of the Global Vendor List.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

AllowHostCookies represents a GDPR permissions policy with host cookie syncing always allowed.
Exporting to allow for easy test setups.
No description provided by the author
BasicEnforcement determines if legal basis is satisfied for a given purpose and bidder using the TCF2 basic enforcement algorithm.
No description provided by the author
An ErrorMalformedConsent will be returned by the Permissions interface if the consent string argument was the reason for the failure.
FullEnforcement determines if legal basis is satisfied for a given purpose and bidder using the TCF2 full enforcement algorithm.
Overrides specifies enforcement algorithm rule adjustments.
PurposeEnforcers holds the full and basic enforcers for a purpose.
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
PurposeEnforcer represents the enforcement strategy for determining if legal basis is achieved for a purpose.
TCF2ConfigReader is an interface to access TCF2 configurations.

# Type aliases

No description provided by the author
PurposeEnforcerBuilder generates an instance of PurposeEnforcer for a given purpose and bidder.
No description provided by the author
No description provided by the author
No description provided by the author