Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶
type AuthConfig struct {
ClientId string // App keys for respective platforms
ClientSecret string // App secrets for respective platforms
RedirectUri string // Callback URL after successful login
Scopes []string // Custom scope content for authorization platforms
StateCacheTime time.Duration // Cache time for state
}
func NewAuthConfig ¶
func NewAuthConfig(opts ...Option) *AuthConfig
type AuthSource ¶
type Option ¶
type Option struct {
// contains filtered or unexported fields
}
func WithClientId ¶
func WithClientSecret ¶
func WithRedirectUrl ¶
func WithScopes ¶
Click to show internal directories.
Click to hide internal directories.