Documentation ¶
Index ¶
- func AuthContextFromJWT(ctx context.Context, jwt string) context.Context
- func NewSubServiceContext(ctx context.Context) context.Context
- func NewSubServiceContextWithJWT(ctx context.Context, jwt string) context.Context
- func ParseJWTFromContext(ctx context.Context, jwtSecret string) (context.Context, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthContextFromJWT ¶
AuthContextFromJWT : add authorization header from jwt to ctx
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.