This repository has been archived on 2022-08-17. You can view files and clone it, but cannot push or open issues or pull requests.
dex/cmd/dexctl/driver.go

14 lines
300 B
Go
Raw Normal View History

2015-08-18 05:57:27 +05:30
package main
import (
"github.com/coreos/dex/connector"
"github.com/coreos/go-oidc/oidc"
)
type driver interface {
NewClient(oidc.ClientMetadata) (*oidc.ClientCredentials, error)
ConnectorConfigs() ([]connector.ConnectorConfig, error)
SetConnectorConfigs([]connector.ConnectorConfig) error
}