Documentation ¶
Index ¶
- type HTTPAuther
- func (a *HTTPAuther) Auth(r *http.Request, entry httpb.Entry) (authInfo interface{}, err error)
- func (a *HTTPAuther) SetLogger(l logger.Logger)
- func (a *HTTPAuther) ValidateIdentity(ctx context.Context, accessToken string) (*token.Token, error)
- func (a *HTTPAuther) ValidatePermission(ctx context.Context, tk *token.Token, e httpb.Entry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPAuther ¶
type HTTPAuther struct {
// contains filtered or unexported fields
}
internal todo
func (*HTTPAuther) ValidateIdentity ¶
func (*HTTPAuther) ValidatePermission ¶
Click to show internal directories.
Click to hide internal directories.