15 lines
271 B
Plaintext
15 lines
271 B
Plaintext
|
type Session {
|
||
|
id: string;
|
||
|
special: boolean;
|
||
|
ip: string;
|
||
|
browser: string;
|
||
|
isthis: boolean;
|
||
|
}
|
||
|
|
||
|
service SecurityService {
|
||
|
GetSessions(): Session[];
|
||
|
RevokeSession(id: string): void;
|
||
|
|
||
|
ChangePassword(old: string, new_pw: string): void;
|
||
|
}
|