apiserver

package
v2.0.8 Latest Latest
Warning

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

Go to latest
Published: May 22, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApp

func NewApp(basename string) *app.App

NewApp 创建 App

func Run

func Run(cfg *config.Config) error

Run 运行指定的 APIServer。此函数不应退出。

Types

This section is empty.

Directories

Path Synopsis
application
authn/jwks
Package jwks 提供 Authn 应用用例,用于 JWKS 发布和 JWKS 密钥管理。
Package jwks 提供 Authn 应用用例,用于 JWKS 发布和 JWKS 密钥管理。
authn/linking
Package linking 管理已认证用户的 LoginIdentity 绑定与解绑。
Package linking 管理已认证用户的 LoginIdentity 绑定与解绑。
authn/session
Package session 编排 AuthN 用户会话用例门面。
Package session 编排 AuthN 用户会话用例门面。
authn/signin
Package signin 编排凭据登录
Package signin 编排凭据登录
authn/signin/proof
Package proof builds domain authentication credentials from selected login method payloads.
Package proof builds domain authentication credentials from selected login method payloads.
authn/signup
Package signup 实现 AuthN 登录身份开通(SignUp / Provision)用例。
Package signup 实现 AuthN 登录身份开通(SignUp / Provision)用例。
authz/role
Package role 角色应用服务
Package role 角色应用服务
authz/rolebinding
Package rolebinding 角色绑定命令应用服务。
Package rolebinding 角色绑定命令应用服务。
idp/prepare
Package prepare 解析微信/企业微信应用在仓库中的密钥,供 authn login proof、linking 等运行时流程复用。
Package prepare 解析微信/企业微信应用在仓库中的密钥,供 authn login proof、linking 等运行时流程复用。
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.
domain
authz
Package authz is a compatibility facade for AuthZ domain value objects.
Package authz is a compatibility facade for AuthZ domain value objects.
authz/policy
Package policy 策略领域包
Package policy 策略领域包
authz/resource
Package resource 资源领域包
Package resource 资源领域包
authz/role
Package role 角色领域包
Package role 角色领域包
infra
crypto
Package crypto provides generic authentication cryptography adapters.
Package crypto provides generic authentication cryptography adapters.
mysql/suggest
Package suggest 从 MySQL 加载档案联想索引项。
Package suggest 从 MySQL 加载档案联想索引项。
sms
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.
token/keyset
Package keyset implements signing-key lifecycle and JWKS publishing infrastructure.
Package keyset implements signing-key lifecycle and JWKS publishing infrastructure.
transport
rest/authz/dto
Package dto 赋权相关的 DTO 定义
Package dto 赋权相关的 DTO 定义
rest/authz/handler
Package handler REST API 处理器基础
Package handler REST API 处理器基础
rest/idp
Package restful IDP 模块 REST API 路由注册
Package restful IDP 模块 REST API 路由注册
rest/idp/handler
Package handler IDP 模块 REST API 处理器基础
Package handler IDP 模块 REST API 处理器基础
rest/idp/request
Package request 定义 IDP 模块 REST API 请求结构
Package request 定义 IDP 模块 REST API 请求结构
rest/idp/response
Package response 定义 IDP 模块 REST API 响应结构
Package response 定义 IDP 模块 REST API 响应结构

Jump to

Keyboard shortcuts

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