Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizationPlugin ¶
type AuthorizationPlugin interface { OnAuthLogout(ctx context.Context, userId int64, keys ...int64) error OnAuthAction(ctx context.Context, authKeyId, msgId int64, clientIp string, phoneNumber string, actionType int, log string) CheckPhoneNumberBanned(ctx context.Context, phoneNumber string) (bool, error) CheckSessionPasswordNeeded(ctx context.Context, userId int64) bool }
Click to show internal directories.
Click to hide internal directories.