shared

package
v0.4.0-alpha.6 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 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

func AuthRouteSuccess

func AuthRouteSuccess() string

Types

type AuthInfoModel

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

type LoginRequest

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

type LoginResponse

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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