auth

package
v0.158.5 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: Apache-2.0 Imports: 3 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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