api

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckEmail

func CheckEmail(client *ent.Client) echo.HandlerFunc

CheckEmail 检查邮箱是否已经存在

func CheckPermission

func CheckPermission(policy *ent.AccessPolicy, rrn string) bool

func InitSuperAdminAndSuperRoles

func InitSuperAdminAndSuperRoles(client *ent.Client) error

func LoginUser

func LoginUser(client *ent.Client) echo.HandlerFunc

LoginUser 用户登陆

func LogoutUser

func LogoutUser() echo.HandlerFunc

func MatchRRN

func MatchRRN(permRRN, resourceRRN string) bool

func ParseRRN

func ParseRRN(rrn string) (platform, tenant, account, resourceType, resourceName string, err error)

func RegisterUser

func RegisterUser(client *ent.Client) echo.HandlerFunc

RegisterUser 用户注册

func ResetPassword

func ResetPassword(client *ent.Client) echo.HandlerFunc

ResetPassword reset password

Types

This section is empty.

Jump to

Keyboard shortcuts

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