auth

package
v0.10.5 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct{}

func (*API) LoginRequired

func (api *API) LoginRequired() bool

func (*API) LoginWithToken added in v0.5.0

func (api *API) LoginWithToken(req *auth_pb.LoginRequest, verbose bool)

func (*API) Logout

func (api *API) Logout()

func (*API) OTPSignin added in v0.5.0

func (api *API) OTPSignin(req *auth_pb.OTPSigninRequest, verbose bool)

type Interface

type Interface interface {
	LoginRequired() bool
	// AutoLogin(req *auth.LoginRequest)
	OTPSignin(req *auth.OTPSigninRequest, verbose bool)
	LoginWithToken(req *auth.LoginRequest, verbose bool)
	Logout()
}

func Resource

func Resource() Interface

Jump to

Keyboard shortcuts

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