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
Click to show internal directories.
Click to hide internal directories.