Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFakeAuthServerHandler ¶
func NewFakeAuthServerHandler(account, password string) *api.TestServer
Types ¶
type LoginResponse ¶
type PasswordLoginClient ¶
type PasswordLoginClient struct {
// contains filtered or unexported fields
}
func NewPasswordLoginClient ¶
func NewPasswordLoginClient(baseURL string) *PasswordLoginClient
func (*PasswordLoginClient) Login ¶
func (a *PasswordLoginClient) Login(account, password string) (*api.ResponseWrapper[*LoginResponse], error)
func (*PasswordLoginClient) NewAPIClient ¶
func (a *PasswordLoginClient) NewAPIClient() api.Client
type SessionAuthorizer ¶
type SessionAuthorizer struct {
// contains filtered or unexported fields
}
func NewSessionAuthorizer ¶
func NewSessionAuthorizer(sessionID string) *SessionAuthorizer
func (*SessionAuthorizer) Apply ¶
func (a *SessionAuthorizer) Apply(values url.Values)
Click to show internal directories.
Click to hide internal directories.