providers

package
v0.0.0-...-2119b44 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MPL-2.0 Imports: 7 Imported by: 8

Documentation

Index

Constants

View Source
const AuthenticateEndpoint = "/v1/auth"

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthRestClient

type AuthRestClient struct {
	R   *rest.RestClient
	Jar *cookiejar.Jar
}

func NewAuthClient

func NewAuthClient(u string, debug bool) (*AuthRestClient, error)

func (*AuthRestClient) AuthenticateUser

func (a *AuthRestClient) AuthenticateUser(c *gin.Context, u string) error

func (*AuthRestClient) MockAuthenticateUser

func (a *AuthRestClient) MockAuthenticateUser(c *gin.Context, u string) error

Jump to

Keyboard shortcuts

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