Versions in this module Expand all Collapse all v0 v0.1.0 Sep 3, 2015 Changes in this version + var ErrorCantChooseRedirectURL = errors.New("must provide a redirect url; client has many") + var ErrorInvalidRedirectURL = errors.New("not a valid redirect url for the given client") + var ErrorNoValidRedirectURLs = errors.New("no valid redirect URLs for this client.") + var ErrorNotFound = errors.New("no data found") + func ValidRedirectURL(rURL *url.URL, redirectURLs []url.URL) (url.URL, error) + type ClientIdentityRepo interface + All func() ([]oidc.ClientIdentity, error) + Authenticate func(creds oidc.ClientCredentials) (bool, error) + IsDexAdmin func(clientID string) (bool, error) + Metadata func(clientID string) (*oidc.ClientMetadata, error) + New func(id string, meta oidc.ClientMetadata) (*oidc.ClientCredentials, error) + SetDexAdmin func(clientID string, isAdmin bool) error + func NewClientIdentityRepo(cs []oidc.ClientIdentity) ClientIdentityRepo + func NewClientIdentityRepoFromReader(r io.Reader) (ClientIdentityRepo, error)