mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
23 lines
494 B
Plaintext
23 lines
494 B
Plaintext
<%@ WebService Language="C#" Class="MyAuthenticationService" %>
|
|
|
|
using System.Web.Services;
|
|
using System.Web.Script.Services;
|
|
|
|
[ScriptService]
|
|
public class MyAuthenticationService : System.Web.Services.WebService
|
|
{
|
|
[WebMethod]
|
|
public bool Login(string userName,
|
|
string password, bool createPersistentCookie)
|
|
{
|
|
//Place code here.
|
|
return true;
|
|
}
|
|
|
|
[WebMethod]
|
|
public void Logout()
|
|
{
|
|
//Place code here.
|
|
}
|
|
}
|