github.com/blend/go-sdk@v1.20240719.1/samlv2/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 samlv2
     9  
    10  import "github.com/blend/go-sdk/ex"
    11  
    12  // CanonicalizerAlgorithm identifies the XML canonicalization algorithm that the SAML provider should use to sign XML
    13  type CanonicalizerAlgorithm string
    14  
    15  // Supported canonicalization algorithms
    16  const (
    17  	CanonicalXML10ExclusiveAlgorithmID CanonicalizerAlgorithm = "http://www.w3.org/2001/10/xml-exc-c14n#"
    18  	CanonicalXML11AlgorithmID          CanonicalizerAlgorithm = "http://www.w3.org/2006/12/xml-c14n11"
    19  )
    20  
    21  // error classes
    22  const (
    23  	ErrorUnsupportedCanonicalizer ex.Class = "Unsupported canonicalizer"
    24  )