package
Version:
v0.0.0-...-3a2841b
Opens a new window with list of versions in this module.
Published: Oct 26, 2023
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Flickr *Strategy `toml:"flickr"`
GitHub *Strategy `toml:"github"`
}
Config has the options required for running relme-auth.
Read a TOML formatted configuration file listing the 3rd party authentication
that can be delegated to.
type Strategy struct {
ID string `toml:"id"`
Secret string `toml:"secret"`
}
Strategy has configuration required for an OAuth/OAuth 2.0 service.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.