github.com/blend/go-sdk@v1.20240719.1/sanitize/constants.go (about)

     1  /*
     2  
     3  Copyright (c) 2024 - Present. Blend Labs, Inc. All rights reserved
     4  Use of this source code is governed by a MIT license that can be found in the LICENSE file.
     5  
     6  */
     7  
     8  package sanitize
     9  
    10  // Default values for disallowed field names
    11  // Note: the values are compared using `strings.EqualFold` so the casing shouldn't matter
    12  var (
    13  	DefaultSanitizationDisallowedHeaders     = []string{"authorization", "cookie", "set-cookie"}
    14  	DefaultSanitizationDisallowedQueryParams = []string{"access_token", "client_secret"}
    15  )