Documentation ¶
Overview ¶
Package authclient provides support to access the auth service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithClient ¶
WithClient adds a custom client for processing requests. It's recommend to not use the default client and provide your own.
Types ¶
type AuthenticateResp ¶
AuthenticateResp defines the information that will be received on authenticate.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents a client that can talk to the auth service.
func (*Client) Authenticate ¶
func (cln *Client) Authenticate(ctx context.Context, authorization string) (AuthenticateResp, error)
Authenticate calls the auth service to authenticate the user.
Click to show internal directories.
Click to hide internal directories.