login

package
v0.0.0-...-d1ec73e Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLogin

func GetLogin(providerName string) (string, string)

func HandleLogin

func HandleLogin(prov string, username string, password string)

HandleLogin handles the art login call.

It allows you to: - Login to all providers via art login - One provider via art login --provider <> - Directly setting credentials via art login --provider <> --username <> --password <>

Types

type Login

type Login struct {
	Name     string `json:"provider"`
	Username string `json:"username"`
	Password string `json:"password"`
}

Login stores the credentials for the provider

Jump to

Keyboard shortcuts

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