OpenAuth_server/InternalAPI/security.jrpc

15 lines
271 B
Plaintext
Raw Permalink Normal View History

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;
}