Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Unauthenticated = status.Error(codes.Code(base.ErrorCode_ERROR_CODE_UNAUTHENTICATED), "unauthenticated") MissingBearerTokenError = status.Error(codes.Code(base.ErrorCode_ERROR_CODE_MISSING_BEARER_TOKEN), "missing bearer token") )
Functions ¶
This section is empty.
Types ¶
type KeyAuthenticator ¶
KeyAuthenticator - Interface for key authenticator
type KeyAuthn ¶
type KeyAuthn struct {
Keys map[string]struct{}
}
KeyAuthn - Authentication Keys Structure
func NewKeyAuthn ¶
NewKeyAuthn - Create New Authenticated Keys
Click to show internal directories.
Click to hide internal directories.