Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an alias to a generic/common api client structure
func NewAPIClient ¶
NewAPIClient returns a Client
func (Client) CheckRequest ¶
func (api Client) CheckRequest(req *http.Request, florenceToken, serviceAuthToken string) (context.Context, int, authFailure, error)
CheckRequest calls the AuthAPI to check florenceToken or serviceAuthToken
func (Client) CheckTokenIdentity ¶ added in v1.6.0
func (api Client) CheckTokenIdentity(ctx context.Context, token string, tokenType TokenType) (*common.IdentityResponse, error)
CheckTokenIdentity Checks the identity of a provided token, for a particular token type (i.e. user or service)
Click to show internal directories.
Click to hide internal directories.