package
0.0.42
Repository: https://github.com/snowlyg/multi.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

FromHeader is a token extractor.
FromJSON is a token extractor.
FromQuery is a token extractor.
Get returns the claims decoded by a verifier.
GetAuthorityId 角色id.
GetAuthorityType 角色类型.
GetCreationDate 登录时间.
GetExpiresIn 有效期.
GetTenancyId 商户id.
GetTenancyName 商户名称.
GetUserId 用户id.
GetUsername 用户名.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author

# Type aliases

TokenExtractor is a function that takes a context as input and returns a token.