Discover Packages
github.com/praveenprem/nexus-auth
providers
package
Version:
v0.0.4
Opens a new window with list of versions in this module.
Published: May 7, 2020
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package providers implements the mechanism to load authentication providers to the system
either built in authentication or custom once. These are external plugins, which can extend
the application authentication capabilities beyond built in once.
type KeyChain struct {
Username string `json:"username"`
Keys []string `json:"keys"`
}
type Provider struct {
Name string
Configuration interface{}
}
Provider defines the structure for provider specific configuration.
Authenticate defines the logic used to determine the authentication provider
and translation of the data between main application and provider
Source Files
¶
Directories
¶
Package github implements authentication provider implementation for authentication source GitHub.
Package github implements authentication provider implementation for authentication source GitHub.
Click to show internal directories.
Click to hide internal directories.