Documentation ¶
Index ¶
Constants ¶
View Source
const HeaderKey string = "X-OASIS-INSECURE-AUTH"
Variables ¶
View Source
var ErrDataTooShort = errors.New("Payload data is too short")
Functions ¶
This section is empty.
Types ¶
type InsecureAuth ¶
type InsecureAuth struct{}
InsecureAuth is an insecure authentication mechanism that may be useful for debugging and testing. It should not be used in setups with real users.
func (InsecureAuth) Authenticate ¶
func (InsecureAuth) Name ¶
func (a InsecureAuth) Name() string
func (InsecureAuth) SetLogger ¶
func (InsecureAuth) SetLogger(_ log.Logger)
func (InsecureAuth) Stats ¶
func (a InsecureAuth) Stats() stats.Metrics
func (InsecureAuth) Verify ¶
func (InsecureAuth) Verify(ctx context.Context, req core.AuthRequest) error
Click to show internal directories.
Click to hide internal directories.