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
Click to show internal directories.
Click to hide internal directories.