config

package
v0.0.0-...-aa9d526 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UserInfoEmailScope   = "https://www.googleapis.com/auth/userinfo.email"
	UserInfoProfileScope = "https://www.googleapis.com/auth/userinfo.profile"
	OpenIDScope          = "openid"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthServiceConfig

type AuthServiceConfig struct {
	PostgresConfig  config.PostgresConfig
	ServerConfig    config.ServerConfig
	OAuthConfig     config.OAuthConfig
	JWTConfig       config.JWTConfig
	LogLevel        config.LogLevel
	DatabaseTimeout time.Duration
}

func InitAuthServiceConfig

func InitAuthServiceConfig() (cfg *AuthServiceConfig, err error)

func (*AuthServiceConfig) NewOAuth2Config

func (cfg *AuthServiceConfig) NewOAuth2Config() *oauth2.Config

Jump to

Keyboard shortcuts

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