conf

package
v0.3.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OAuth2TokenCfgValPrefix    = "oauth2tokenpath"            // #nosec G101
	AhaOauth2TokenPath         = "oauth2tokenpathaha"         // #nosec G101
	GoogleOauth2TokenPath      = "oauth2tokenpathgoogle"      // #nosec G101
	FacebookOauth2TokenPath    = "oauth2tokenpathfacebook"    // #nosec G101
	RingcentralOauth2TokenPath = "oauth2tokenpathringcentral" // #nosec G101
)

Variables

View Source
var OAuth2Configs = ms.NewConfigMoreSet()

Functions

func GetTokenPath

func GetTokenPath(providerKey string) string

func InitOAuth2Config

func InitOAuth2Config() error

func InitSession

func InitSession(logger *beegoutil.BeegoLogsMore)

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig() Config

func (*Config) Logger

func (cfg *Config) Logger() *beegoutil.BeegoLogsMore

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL