Discover Packages
github.com/koderover/dex
connector
mock
package
Version:
v2.0.0-beta.2+incompat...
Opens a new window with list of versions in this module.
Published: Nov 17, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package mock implements connectors which help test various server components.
NewCallbackConnector returns a mock connector which requires no user interaction. It always returns
the same (fake) identity.
type CallbackConfig struct{}
CallbackConfig holds the configuration parameters for a connector which requires no interaction.
Open returns an authentication strategy which requires no user interaction.
type PasswordConfig struct {
Username string `json:"username"`
Password string `json:"password"`
}
PasswordConfig holds the configuration for a mock connector which prompts for the supplied
username and password.
Open returns an authentication strategy which prompts for a predefined username and password.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.