func Type(name string) func(*config) error {
	return func(c *config) error {
		c.typeName = name
		return nil
	}
}
Type defines the type name of this auth mechanism.
package auth0
import (
	"github.com/danielgtaylor/openapi-cli-generator/cli"
	"github.com/danielgtaylor/openapi-cli-generator/oauth"
)
type config struct {
	typeName string
	extra    []string
	scopes   []string
}
func Extra(names ...string) func(*config) error {
	return func(c *config) error {
		c.extra = names
		return nil
	}
}
func Scopes(scopes ...string) func(*config) error {
	return func(c *config) error {
		c.scopes = scopes
		return nil
	}
}