Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoAuthServiceInContext = errors.New("no auth service in context") ErrInvalidServiceInContext = errors.New("invalid service in context") )
Functions ¶
This section is empty.
Types ¶
type AuthClient ¶ added in v0.0.34
type GenAuthClient ¶ added in v0.0.34
type GenAuthClient interface {
RequestTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...client.RequestEditorFn) (*client.RequestTokenResponse, error)
}
type Option ¶ added in v0.0.26
type Option func(*Service)
func WithClient ¶ added in v0.0.34
func WithClient(c GenAuthClient) Option
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) ClearCache ¶
func (s *Service) ClearCache()
func (*Service) RetrieveTokenForAPI ¶
Click to show internal directories.
Click to hide internal directories.