strategies

package
v11.1.4-modfix Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OAuthStrategy

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

func NewOAuthStrategy

func NewOAuthStrategy(cfg *setting.Cfg) *OAuthStrategy

func (*OAuthStrategy) GetProviderConfig

func (s *OAuthStrategy) GetProviderConfig(_ context.Context, provider string) (map[string]any, error)

func (*OAuthStrategy) IsMatch

func (s *OAuthStrategy) IsMatch(provider string) bool

type SAMLStrategy

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

func NewSAMLStrategy

func NewSAMLStrategy(settingsProvider setting.Provider) *SAMLStrategy

func (*SAMLStrategy) GetProviderConfig

func (s *SAMLStrategy) GetProviderConfig(_ context.Context, provider string) (map[string]any, error)

func (*SAMLStrategy) IsMatch

func (s *SAMLStrategy) IsMatch(provider string) bool

Jump to

Keyboard shortcuts

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