2
0
mirror of https://github.com/esiur/esiur-js.git synced 2025-06-27 15:23:11 +00:00
This commit is contained in:
2021-03-10 01:25:20 +03:00
parent ca2b89540a
commit a08519bde8
55 changed files with 4190 additions and 6679 deletions

View File

@ -0,0 +1,10 @@
import Authentication from "./Authentication.js";
import AuthenticationType from "./AuthenticationType.js";
export default class ClientAuthentication extends Authentication
{
constructor()
{
super(AuthenticationType.Client);
}
}

View File

@ -0,0 +1,10 @@
import Authentication from "./Authentication.js";
import AuthenticationType from "./AuthenticationType.js";
export default class HostAuthentication extends Authentication
{
constructor()
{
super(AuthenticationType.Host);
}
}

View File

@ -0,0 +1,33 @@
import AsyncReply from "../../Core/AsyncReply.js";
import IResource from "../../Resource/IResource.js";
export default class IMembership extends IResource
{
userExists(username, domain){
return new AsyncReply(false);
}
getPassword(username, domain)
{
return new AsyncReply(null);
}
getToken(tokenIndex, domain)
{
return new AsyncReply(null);
}
login(session)
{
}
logout(session)
{
}
tokenExists(tokenIndex, domain)
{
}
}