package auth
import "k.malhotra.cc/go/nextcloud_authv2"
Index ¶
Package Files ¶
auth.go
func Authenticate ¶
func Authenticate(ctx context.Context, server string, useragent string, stdout io.Writer, stdin io.Reader) (prefServer, loginName, appPassword string, err error)
user agent like Golang_Example_Nextcloud_login/1.0 Note: this blocks stdin until the program exits. It's meant to be used in a dedicated 'login' command.
Directories ¶
Path | Synopsis |
---|---|
example |
- Version
- v0.0.0-20230120033210-f1fd3fd13fd5 (latest)
- Published
- Jan 20, 2023
- Platform
- linux/amd64
- Imports
- 12 packages (graph)
- Last checked
- 2 weeks ago –
Tools for package owners.