Documentation ¶
Index ¶
- func ClearProjectAuth(userID int64)
- func GetProjectAuth(ctx context.Context, userID int64, roleIDs []int64) (map[int64]*sys.ProjectAuth, error)
- type ApiAuth
- type Captcha
- type PwdCheck
- func (p *PwdCheck) CheckAccountOrIpForbidden(ctx context.Context, list []*conf.LoginSafeCtlInfo) (int32, bool)
- func (p *PwdCheck) CheckPasswordTimes(ctx context.Context, list []*conf.LoginSafeCtlInfo) (bool, error)
- func (p *PwdCheck) ClearWrongpassKeys(ctx context.Context, list []*conf.LoginSafeCtlInfo)
- type Slot
- type UserToken
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearProjectAuth ¶
func ClearProjectAuth(userID int64)
func GetProjectAuth ¶
Types ¶
type Captcha ¶
type Captcha struct {
// contains filtered or unexported fields
}
func NewCaptcha ¶
type PwdCheck ¶
type PwdCheck struct {
// contains filtered or unexported fields
}
func NewPwdCheck ¶
func (*PwdCheck) CheckAccountOrIpForbidden ¶
func (*PwdCheck) CheckPasswordTimes ¶
func (*PwdCheck) ClearWrongpassKeys ¶
func (p *PwdCheck) ClearWrongpassKeys(ctx context.Context, list []*conf.LoginSafeCtlInfo)
Click to show internal directories.
Click to hide internal directories.