api

package
v0.0.0-...-ce5cb77 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2025 License: EUPL-1.2 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RegistrationAPI

type RegistrationAPI struct {
	// contains filtered or unexported fields
}

func NewRegistrationAPI

func NewRegistrationAPI(regService *reg.RegistrationService) (*RegistrationAPI, error)

func (*RegistrationAPI) MountRoutes

func (r *RegistrationAPI) MountRoutes(group *echo.Group)

type RegistrationChallenge

type RegistrationChallenge struct {
	Type   reg.RegistrationChallengeType `json:"type"`
	URL    string                        `json:"url"`
	Status string                        `json:"status"`
}

type RegistrationRequest

type RegistrationRequest struct {
	Name     string      `json:"name" validate:"required"`
	Iss      string      `json:"iss,omitempty"`
	Csr      []byte      `json:"csr,omitempty"`
	Platform string      `json:"platform"`
	Posture  interface{} `json:"posture"`
}

type RegistrationResponse

type RegistrationResponse struct {
	ID                string                   `json:"id"`
	Status            reg.RegistrationStatus   `json:"status"`
	Challenges        []*RegistrationChallenge `json:"challenges"`
	ClientID          string                   `json:"clientId,omitempty"`
	ClientUrl         string                   `json:"clientUrl,omitempty"`
	ClientCertificate []byte                   `json:"clientCertificate,omitempty"`
}

Jump to

Keyboard shortcuts

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