internal/

directory
v3.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2026 License: Apache-2.0

Directories

Path Synopsis
application/authn/jwks
Package jwks 提供 Authn 的公共 JWK Set 发布用例。
Package jwks 提供 Authn 的公共 JWK Set 发布用例。
application/authn/linking
Package linking 管理已认证用户的 LoginIdentity 绑定与解绑。
Package linking 管理已认证用户的 LoginIdentity 绑定与解绑。
application/authn/session
Package session 编排 AuthN 用户会话用例门面。
Package session 编排 AuthN 用户会话用例门面。
application/authn/signin
Package signin 编排凭据登录
Package signin 编排凭据登录
application/authn/signin/proof
Package proof 构建认证凭据领域模型 认证凭据是认证的输入,用于认证器进行认证
Package proof 构建认证凭据领域模型 认证凭据是认证的输入,用于认证器进行认证
application/authn/signingkey
Package signingkey orchestrates IAM signing-key administration and lifecycle.
Package signingkey orchestrates IAM signing-key administration and lifecycle.
application/authn/signup
Package signup 实现 AuthN 登录身份开通(SignUp / Provision)用例。
Package signup 实现 AuthN 登录身份开通(SignUp / Provision)用例。
application/authz/assignment
Package assignment contains the native role-assignment write use cases.
Package assignment contains the native role-assignment write use cases.
application/authz/assignmentadmission
Package assignmentadmission decides whether a caller may change role assignments.
Package assignmentadmission decides whether a caller may change role assignments.
application/authz/objectattributeadmission
Package objectattributeadmission defines explicit trust in caller supplied attributes.
Package objectattributeadmission defines explicit trust in caller supplied attributes.
application/authz/policypublication
Package policypublication publishes accepted authorization facts into the immutable runtime snapshot used for permission decisions.
Package policypublication publishes accepted authorization facts into the immutable runtime snapshot used for permission decisions.
application/authz/role
Package role 角色应用服务
Package role 角色应用服务
docs
Package iam_authz_generated_swagger Code generated by swaggo/swag.
Package iam_authz_generated_swagger Code generated by swaggo/swag.
domain/authn/grant
Package grant establishes the complete online authentication result.
Package grant establishes the complete online authentication result.
domain/authn/signingkey
Package signingkey owns non-sensitive signing-key lifecycle rules.
Package signingkey owns non-sensitive signing-key lifecycle rules.
domain/authn/token
Package token models AuthN tokens and their lifecycle services.
Package token models AuthN tokens and their lifecycle services.
domain/authz/authorization
Package authorization owns the domain language and policies used to produce an authorization decision from immutable authorization facts.
Package authorization owns the domain language and policies used to produce an authorization decision from immutable authorization facts.
domain/authz/policy
Package policy 策略领域包
Package policy 策略领域包
domain/authz/resource
Package resource 资源领域包
Package resource 资源领域包
domain/authz/role
Package role 角色领域包
Package role 角色领域包
domain/identity/useraccess
Package useraccess defines the narrow Identity capabilities exposed to authentication and authorization modules.
Package useraccess defines the narrow Identity capabilities exposed to authentication and authorization modules.
infra/crypto
Package crypto provides generic authentication cryptography adapters.
Package crypto provides generic authentication cryptography adapters.
infra/mysql/suggest
Package suggest 从 MySQL 加载档案联想索引项。
Package suggest 从 MySQL 加载档案联想索引项。
infra/token/jwt
Package jwt implements IAM access/service token encoding with JWS compact JWT.
Package jwt implements IAM access/service token encoding with JWS compact JWT.
infra/token/keyset
Package keyset adapts signing-key domain facts to cryptographic material, persistence ports, JWS key lookup and public JWKS serialization.
Package keyset adapts signing-key domain facts to cryptographic material, persistence ports, JWS key lookup and public JWKS serialization.
testfixtures/assessment
Package assessment contains the QS contract used only by integration tests.
Package assessment contains the QS contract used only by integration tests.
testfixtures/authzdb
Package authzdb creates disposable databases for authorization contract tests.
Package authzdb creates disposable databases for authorization contract tests.
testfixtures/authzschema
Package authzschema provides business independent authorization examples.
Package authzschema provides business independent authorization examples.
transport/rest/authz/dto
Package dto 赋权相关的 DTO 定义
Package dto 赋权相关的 DTO 定义
transport/rest/authz/handler
Package handler 角色分配处理器
Package handler 角色分配处理器
transport/rest/idp
Package restful IDP 模块 REST API 路由注册
Package restful IDP 模块 REST API 路由注册
transport/rest/idp/handler
Package handler IDP 模块 REST API 处理器基础
Package handler IDP 模块 REST API 处理器基础
transport/rest/idp/request
Package request 定义 IDP 模块 REST API 请求结构
Package request 定义 IDP 模块 REST API 请求结构
transport/rest/idp/response
Package response 定义 IDP 模块 REST API 响应结构
Package response 定义 IDP 模块 REST API 响应结构
pkg
code
Package code defines shared error codes used across the iam services.
Package code defines shared error codes used across the iam services.
grpc
Package grpc 提供通用的 gRPC 服务器基础设施
Package grpc 提供通用的 gRPC 服务器基础设施
middleware
定义多个 gin 中间件
定义多个 gin 中间件
middleware/authz
Package authz enforces authorization decisions at the HTTP boundary.
Package authz enforces authorization decisions at the HTTP boundary.
safelog
Package safelog converts errors into bounded metadata suitable for logs.
Package safelog converts errors into bounded metadata suitable for logs.
server
Package server 定义了所有平台通用的通用 apiserver
Package server 定义了所有平台通用的通用 apiserver

Jump to

Keyboard shortcuts

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