常用方法
常用方法
常用方法
常用方法
/// <summary> /// </summary> /// <typeparam name="T"></typeparam> /// <param name="userType"></param> /// <returns></returns> /// <example> /// <code> /// Server.Create(9916) /// .Accepts<KakaoTalkIDProvider>("kakao") /// /* your service goes here */ /// .Run(); /// </code> /// </example> public Server Accepts <T>(string userType) where T : Auth.IDP.IDProvider, new() { AuthHandler.AddIDProvider <T>(userType); return(this); }