 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateSelfSignedCert ¶
generateSelfSignedCert generates a self-signed cert/key pairs and writes to the certPath/keyPath. This method is mostly identical to crypto.GenerateSelfSignedCert except for the 'IsCA' and 'KeyUsage' in the certificate template. (Maybe we can merge these two methods).
Types ¶
type OIDCProvider ¶
type OIDCProvider struct {
	Mux     *http.ServeMux
	PCFG    oidc.ProviderConfig
	PrivKey *key.PrivateKey
	// contains filtered or unexported fields
}
    func NewOIDCProvider ¶
func NewOIDCProvider(t *testing.T, issuerPath string) *OIDCProvider
NewOIDCProvider provides a bare minimum OIDC IdP Server useful for testing.
func (*OIDCProvider) ServeTLSWithKeyPair ¶
func (op *OIDCProvider) ServeTLSWithKeyPair(cert, key string) (*httptest.Server, error)
 Click to show internal directories. 
   Click to hide internal directories.