oauth2

package
v0.2.21 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Name          string
	oauth2.Config `yaml:",inline"`
}

Config represents an OAuth2 client-credentials entry that can be stored in the workspace under workspace/oauth/<id>.yaml. The ClientSecret is stored encrypted – only its locator is persisted in YAML.

type Endpoint

type Endpoint struct {
	AuthURL  string `yaml:"authURL"  json:"authURL"`
	TokenURL string `yaml:"tokenURL" json:"tokenURL"`
}

Endpoint matches oauth2.Endpoint but with YAML/JSON tags for workspace files.

Jump to

Keyboard shortcuts

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