2021-03-18 13:52:23 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace LeanCloud.Engine {
|
|
|
|
|
public enum LCEngineUserHookType {
|
2021-03-18 14:58:22 +08:00
|
|
|
|
OnSMSVerified,
|
|
|
|
|
OnEmailVerified,
|
2021-03-18 13:52:23 +08:00
|
|
|
|
OnLogin
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class LCEngineUserHookAttribute : Attribute {
|
|
|
|
|
public LCEngineUserHookType HookType {
|
|
|
|
|
get;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public LCEngineUserHookAttribute(LCEngineUserHookType hookType) {
|
|
|
|
|
HookType = hookType;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|