Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Getter ¶
type Getter interface { GetDTO(c context.Context) (*Token, error) GetText(c context.Context) (Text, error) }
Getter 用来获取跟上下文绑定的JWT
type Registration ¶
Registration 表示 JWT 组件的注册信息
type Registry ¶
type Registry interface {
ListRegistrations() []*Registration
}
Registry 是 JWT 组件的注册接口
Click to show internal directories.
Click to hide internal directories.