authfg

package
v0.0.0-...-5117fa9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2018 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServerJwtAuthFunc

func ServerJwtAuthFunc(config map[string]interface{}) grpc_auth.AuthFunc

auth base jwt,it parse BearToken to Identity entity

func WithAuthClient

func WithAuthClient(fromHttpHeader bool) grpc.UnaryClientInterceptor

fromHttpHeader表示从http头部信息请求,一般为gateway时设置为true

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL