shared

package
v1.0.1-rc.17 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthInfoRoute

func AuthInfoRoute() string

func AuthRoute

func AuthRoute() string

Types

type AuthInfoModel

type AuthInfoModel struct {
	Scheme  string `json:"scheme" swagger:"desc(Authentication scheme (jwt, basic, ip)),required"`
	AuthURL string `json:"authURL" swagger:"desc(JWT only),required"`
}

type LoginRequest

type LoginRequest struct {
	Username string `json:"username" form:"username" swagger:"required"`
	Password string `json:"password" form:"password" swagger:"required"`
}

type LoginResponse

type LoginResponse struct {
	JWT   string `json:"jwt,omitempty" swagger:"required"`
	Error error  `json:"error,omitempty" swagger:"required"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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