authentication

package
v0.0.0-...-17e489a Latest Latest
Warning

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

Go to latest
Published: May 29, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuthConfig map[string]string

AuthConfig contains the configuration for the IdP.

Functions

func GetLoginLink() (url string)

GetLoginLink generates a redirect link to the IdP login page.

func HasAuth

func HasAuth(accessToken string) (success bool)

HasAuth checks the passed token against the IdP, and returns true if the IdP can return the user's info, false if not.

Types

This section is empty.

Jump to

Keyboard shortcuts

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