Documentation ¶
Overview ¶
Package utils contains common functionality needed across the Cerberus Go client
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAndParse ¶
func CheckAndParse(resp *http.Response) (*api.UserAuthResponse, error)
CheckAndParse is a helper function to check for user auth and token refresh errors and parse a response. It will return a user friendly error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.