Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewWithHealthClient ¶
func NewWithHealthClient(hcCli *healthcheck.Client) *Client
NewWithHealthClient creates a new instance of topic API Client, reusing the URL and Clienter from the provided healthcheck client
func (*Client) Checker ¶
Checker calls identity api health endpoint and returns a check object to the caller
func (*Client) GetToken ¶
func (cli *Client) GetToken(ctx context.Context, credentials models.UserSignIn) (*TokenResponse, apiError.Error)
GetToken attempts to sign in and obtain a JWT token from the API
func (*Client) Health ¶
func (cli *Client) Health() *healthcheck.Client
Health returns the underlying Healthcheck Client for this identity API client
Click to show internal directories.
Click to hide internal directories.