Documentation ¶
Overview ¶
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Content managed by Project Forge, see [projectforge.md] for details.
Index ¶
- Constants
- Variables
- func BeginAuthHandler(prv *Provider, rc *fasthttp.RequestCtx, websess util.ValueMap, ...) (string, error)
- func CompleteUserAuth(prv *Provider, rc *fasthttp.RequestCtx, websess util.ValueMap, ...) (*user.Account, user.Accounts, error)
- func Logout(rc *fasthttp.RequestCtx, websess util.ValueMap, logger *zap.SugaredLogger, ...) error
- func ProviderUsage(id string, enabled bool) string
- type Provider
- type Providers
- type Service
Constants ¶
View Source
const (
OpenIDConnectKey = "openid_connect"
)
View Source
const WebAuthKey = "auth"
Variables ¶
View Source
var ( AvailableProviderNames map[string]string AvailableProviderKeys []string )
Functions ¶
func BeginAuthHandler ¶
func BeginAuthHandler(prv *Provider, rc *fasthttp.RequestCtx, websess util.ValueMap, logger *zap.SugaredLogger) (string, error)
func CompleteUserAuth ¶
func Logout ¶
func Logout(rc *fasthttp.RequestCtx, websess util.ValueMap, logger *zap.SugaredLogger, prvKeys ...string) error
func ProviderUsage ¶
Types ¶
type Provider ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(baseURL string, logger *zap.SugaredLogger) *Service
Source Files ¶
Click to show internal directories.
Click to hide internal directories.