proxmox

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOidcURL

func GetOidcURL(cfg config.Config) (string, error)

func OutputTicket

func OutputTicket(cfg config.Config, ticket Ticket) (string, error)

Types

type Ticket

type Ticket struct {
	Data TicketData `json:"data"`
}

func ExchangeCallbackResultForTicket

func ExchangeCallbackResultForTicket(cfg config.Config, result callback.CallbackResult) (Ticket, error)

type TicketData added in v0.3.0

type TicketData struct {
	Ticket              string `json:"ticket"`
	CSRFPreventionToken string `json:"CSRFPreventionToken"`
	Username            string `json:"username"`
	Clustername         string `json:"clustername,omitempty"`
}

Jump to

Keyboard shortcuts

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