request

package
v0.0.0-...-e32210a Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OAuth2TokenResponse

type OAuth2TokenResponse struct {
	AccessToken  string
	RefreshToken string
	TokenType    string
	ExpiresIn    *int64
	Scope        string
	IdToken      string
}

OAuth2TokenResponse represents the token response from OAuth2 authorization server

type Request

type Request struct {
	Name    string
	Version string

	Config       *vault.Config
	Credentials  *vault.Credentials
	TokenInfo    *vault.TokenInfo
	Method       *string
	Headers      *[]string
	Data         *string
	Insecure     *bool
	PrintBody    *bool
	PrintHeaders *bool

	TargetUrl *string
}

func (*Request) Execute

func (r *Request) Execute(keyring keyring.Keyring) (err error)

Jump to

Keyboard shortcuts

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