auth

package
v0.153.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

README

auth packages

Shared code for authentication with various providers.

  • datatug auth login|status|logout — sign in to DataTug (auth.sneat.co device login), show or end the session.
  • datatug whoami — top-level shortcut that shows the signed-in DataTug account; not signed in points to datatug auth login.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command() *cobra.Command

Command returns the `auth` parent command. It has no Action of its own; invoked bare, cobra shows its help — the same fallback urfave/cli's default Action (helpCommandAction) provided.

func WhoamiCommand added in v0.131.0

func WhoamiCommand() *cobra.Command

WhoamiCommand returns the top-level `datatug whoami` command. It reports the signed-in DataTug account from the same shared device login as the `auth` subcommands, but is mounted at the root because it is a frequent human query rather than a credential-management verb.

Types

This section is empty.

Directories

Path Synopsis
Package device provides DataTug's shared auth.sneat.co device-login command.
Package device provides DataTug's shared auth.sneat.co device-login command.

Jump to

Keyboard shortcuts

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