Help us shape the future of Go! Take the 2026 Go Developer Survey

auth

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveClient

func ResolveClient(ctx context.Context, opts ResolveClientOptions) (client.Client, error)

ResolveClient resolves a session and builds its client in one call.

func ResolveWorkspace added in v0.3.0

func ResolveWorkspace(ctx context.Context, opts ResolveClientOptions) (string, error)

ResolveWorkspace resolves the workspace that the client of ResolveClient works in: the one a setting names, else the profile's default workspace. It is empty where neither names one.

Types

type ResolveClientOptions added in v0.2.0

type ResolveClientOptions = auth.ResolveSessionOptions

ResolveClientOptions carries the setting sources and information about the calling frontend.

Jump to

Keyboard shortcuts

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