Versions in this module Expand all Collapse all v0 v0.5.1 Jun 30, 2016 v0.5.0 Jun 27, 2016 Changes in this version + func CompareHashAndPassword(hashedPassword, password []byte) error + func DefaultSecretGenerator() ([]byte, error) + type ClientManager struct + func NewClientManager(clientRepo client.ClientRepo, txnFactory repo.TransactionFactory, ...) *ClientManager + func (m *ClientManager) All() ([]client.Client, error) + func (m *ClientManager) Authenticate(creds oidc.ClientCredentials) (bool, error) + func (m *ClientManager) Get(id string) (client.Client, error) + func (m *ClientManager) IsDexAdmin(clientID string) (bool, error) + func (m *ClientManager) Metadata(clientID string) (*oidc.ClientMetadata, error) + func (m *ClientManager) New(cli client.Client, options *ClientOptions) (*oidc.ClientCredentials, error) + func (m *ClientManager) SetDexAdmin(clientID string, isAdmin bool) error + type ClientOptions struct + TrustedPeers []string + type ManagerOptions struct + ClientIDGenerator func(string) (string, error) + SecretGenerator func() ([]byte, error) + type SecretGenerator func() ([]byte, error)