models

package
v0.2.92 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigResponse

type ConfigResponse struct {
	GithubEnabled  bool   `json:"github_enabled"`
	GoogleEnabled  bool   `json:"google_enabled"`
	MagicEnabled   bool   `json:"magic_enabled"`
	DeviceEnabled  bool   `json:"device_enabled"`
	Endpoint       string `json:"endpoint"`
	DefaultNextURL string `json:"default_next_url"`
}

type DeviceCallbackResponse

type DeviceCallbackResponse struct {
	Identifier string `json:"identifier"`
}

type DeviceFlowResponse

type DeviceFlowResponse struct {
	DeviceCode  string `json:"device_code"`
	UserCode    string `json:"user_code"`
	PollingRate int64  `json:"polling_rate"`
}

type HealthResponse

type HealthResponse struct {
	Subscriptions bool `json:"subscriptions"`
}

type ServiceKeyLoginResponse

type ServiceKeyLoginResponse struct {
	ServiceSessionID     string                `json:"service_session_id"`
	ServiceSessionSecret string                `json:"service_session_secret"`
	ServiceKeyID         string                `json:"service_key_id"`
	Creator              string                `json:"creator"`
	Organization         string                `json:"organization"`
	Resources            []servicekey.Resource `json:"resources"`
}

type UserInfoResponse

type UserInfoResponse struct {
	Identifier   string    `json:"identifier"`
	Kind         kind.Kind `json:"kind"`
	Organization string    `json:"organization"`
}

Jump to

Keyboard shortcuts

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