github.com/prebid/prebid-server/v2@v2.18.0/gdpr/permissions.go (about)

     1  package gdpr
     2  
     3  type AuctionPermissions struct {
     4  	AllowBidRequest bool
     5  	PassGeo         bool
     6  	PassID          bool
     7  }
     8  
     9  var AllowAll = AuctionPermissions{
    10  	AllowBidRequest: true,
    11  	PassGeo:         true,
    12  	PassID:          true,
    13  }
    14  
    15  var DenyAll = AuctionPermissions{
    16  	AllowBidRequest: false,
    17  	PassGeo:         false,
    18  	PassID:          false,
    19  }
    20  
    21  var AllowBidRequestOnly = AuctionPermissions{
    22  	AllowBidRequest: true,
    23  	PassGeo:         false,
    24  	PassID:          false,
    25  }