auth

package
v0.0.0-...-f6e517b Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	*handler.Handler
}

func (*Auth) Logout_Post

func (a *Auth) Logout_Post(w http.ResponseWriter, r *http.Request)

/api/auth/logout

func (*Auth) State_Get

func (a *Auth) State_Get(w http.ResponseWriter, r *http.Request)

/api/auth/state

type AuthState_Response

type AuthState_Response struct {
	Authenticated bool     `json:"authenticated"`
	User          *db.User `json:"user,omitempty"`
}

Jump to

Keyboard shortcuts

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