Documentation
¶
Index ¶
- Variables
- func LoadConfiguration()
- func VerifyConfigExists() bool
- func WriteSecretsToHomeDirectory(clientSecret string, clientId string)
- func WriteTokenToHomeDirectory(configData *CombinedTokenStructure, initiateChannel bool)
- type CombinedTokenStructure
- type Config
- type EnvVarConfig
- type UserLibraryReadTokenStructure
- type UserModifyTokenStructure
- type UserReadTokenStructure
Constants ¶
This section is empty.
Variables ¶
View Source
var AuthTokenData = make(chan CombinedTokenStructure)
Functions ¶
func LoadConfiguration ¶
func LoadConfiguration()
func VerifyConfigExists ¶
func VerifyConfigExists() bool
func WriteTokenToHomeDirectory ¶
func WriteTokenToHomeDirectory(configData *CombinedTokenStructure, initiateChannel bool)
Types ¶
type CombinedTokenStructure ¶ added in v1.0.61
type CombinedTokenStructure struct {
ModifyToken UserModifyTokenStructure `yaml:"ModifyToken"`
ReadToken UserReadTokenStructure `yaml:"ReadToken"`
LibraryReadToken UserLibraryReadTokenStructure `yaml:"LibraryReadToken"`
}
func ReadTokenFromHome ¶
func ReadTokenFromHome(tokenType constants.TokenType) *CombinedTokenStructure
type EnvVarConfig ¶ added in v1.0.61
type UserLibraryReadTokenStructure ¶ added in v1.0.61
type UserModifyTokenStructure ¶ added in v1.0.61
type UserReadTokenStructure ¶ added in v1.0.61
Click to show internal directories.
Click to hide internal directories.