dd0e8eec14
* copyright headers for agent folder * Ignore test data files * fix proto files and remove headers in agent/uiserver folder * ignore deep-copy files
30 lines
563 B
Go
30 lines
563 B
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
//go:build !consulent
|
|
// +build !consulent
|
|
|
|
package ssoauth
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/hashicorp/consul/acl"
|
|
"github.com/hashicorp/consul/internal/go-sso/oidcauth"
|
|
)
|
|
|
|
func validateType(typ string) error {
|
|
if typ != "jwt" {
|
|
return fmt.Errorf("type should be %q", "jwt")
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (v *Validator) ssoEntMetaFromClaims(_ *oidcauth.Claims) *acl.EnterpriseMeta {
|
|
return nil
|
|
}
|
|
|
|
type enterpriseConfig struct{}
|
|
|
|
func (c *Config) enterpriseConvertForLibrary(_ *oidcauth.Config) {}
|