mirror of
https://github.com/esiur/esiur-js.git
synced 2025-06-27 15:23:11 +00:00
1.6.0
This commit is contained in:
10
src/Security/Authority/ClientAuthentication.js
Normal file
10
src/Security/Authority/ClientAuthentication.js
Normal 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);
|
||||
}
|
||||
}
|
10
src/Security/Authority/HostAuthentication.js
Normal file
10
src/Security/Authority/HostAuthentication.js
Normal 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);
|
||||
}
|
||||
}
|
33
src/Security/Membership/IMembership.js
Normal file
33
src/Security/Membership/IMembership.js
Normal 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)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user