Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecurityClient ¶
type SecurityClient struct{}
SecurityClient returns token which returns nil for every call
func NewNoopSecurityClient ¶
func NewNoopSecurityClient() *SecurityClient
NewNoopSecurityClient returns SecurityClient
func (*SecurityClient) GetToken ¶
func (c *SecurityClient) GetToken() auth.Token
GetToken returns a token for noop auth
type SecurityManager ¶
type SecurityManager struct{}
SecurityManager accepts all auth requests
func NewNoopSecurityManager ¶
func NewNoopSecurityManager() *SecurityManager
NewNoopSecurityManager returns SecurityManager
func (*SecurityManager) Authenticate ¶
Authenticate always return success
func (*SecurityManager) RedactToken ¶
func (m *SecurityManager) RedactToken(token auth.Token)
RedactToken is noop
Click to show internal directories.
Click to hide internal directories.