Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TokenAuthenticator ¶
func TokenAuthenticator(verify func(ctx context.Context, token string) (token.Token, error)) gin.HandlerFunc
TokenAuthenticator authenticates each request if is valid.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.