package
0.1.1
Repository: https://github.com/dotnetage/go-titan.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AuthClient 获取当前请求中的ClientID.
AuthUser 获取当前已进行授权验证的用户对象,如果失败则返回false.
No description provided by the author
ContextWithUser 将用户对象写入当前安全上下文中.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
gocsv 无法下载使用.
No description provided by the author
No description provided by the author
NewUserClaims creates a new UserClaim.
No description provided by the author
No description provided by the author
RandStr 生成指定长度的随机字符串.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

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
Identity 用户身份标识.
Principal 用于表示在微服务间传递的用户信息.
Resource 定义可访问资源.
Token 定义访问令牌的数据结构.
UserClaims JWT claims 仅供内部使用.
No description provided by the author
No description provided by the author

# Interfaces

IdentityManager 用户身份标识管理器.
Rules 提供基于授权范围的权限控制.
Tokens 访问令牌验证组件.

# Type aliases

No description provided by the author