auth

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const API_KEY_CONFIG_PATH = "auth.api_key"
View Source
const API_URL_CONFIG_PATH = "auth.api_url"

Variables

View Source
var NotLoggedInError = errors.New("Not logged in")

Functions

func CheckLoggedIn

func CheckLoggedIn() error

func GetApiKey

func GetApiKey() string

func GetApiUrl

func GetApiUrl() string

func IsApiBaseUrlSet

func IsApiBaseUrlSet() bool

func Login

func Login(apiKey, baseUrl string) (err error)

func Logout

func Logout() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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