login

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Login

func Login(ctx context.Context, clientId, clientSecret, redirectUrl, authEndpoint, redirectPort, consoleUrl, platformUrl string, verbose bool, useSso bool) error

Types

type Workspace added in v0.13.0

type Workspace struct {
	ID          string `json:"id"`
	Description string `json:"description"`
}

Workspace represents a workspace with its ID and description

func FetchWorkspaces added in v0.13.0

func FetchWorkspaces(platformUrl string, accessToken string) ([]Workspace, map[string][]string, error)

FetchWorkspaces retrieves all workspaces and workspace-tenant mapping for the authenticated user

Jump to

Keyboard shortcuts

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