Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthService ¶
type AuthService interface {
CreateUser(req *entity.UserReq) error
DeleteUser(req *entity.UserReq) error
CreateRole(req *entity.RoleReq) error
DeleteRole(req *entity.RoleReq) error
AddRoleToUser(req *entity.UserRoleReq) error
Authenticate(req *entity.UserRoleReq) (*entity.UserRoleRsp, error)
Invalidate(req *entity.UserRoleReq) error
CheckRole(req *entity.UserRoleReq) (*entity.UserRoleRsp, error)
AllRoles(req *entity.UserRoleReq) (*entity.UserRoleRsp, error)
}
AuthService service interface
Click to show internal directories.
Click to hide internal directories.