dev.avyos.login

api/login/api.json

Session authentication and lock-state service.

Service

FieldValue
Namedev.avyos.login
Packagelogin
Service ID0x00000040

Session authentication and lock-state service.

Types

Empty

Empty payload used when a request or event carries no fields.

No fields.

SessionInfo

Identity and process information for the active user session.

FieldTypeDescription
Username string -
UID uint32 -
PID int -
Active bool -

Requests

Logout

0x0201

Terminate the current user session.

Input

Type: Empty

No input is required.

Output

Type: Empty

No payload is returned.

Lock

0x0202

Lock the current user session.

Input

Type: Empty

No input is required.

Output

Type: Empty

No payload is returned.

GetSession

0x0203

Fetch details for the active session.

Input

Type: Empty

No input is required.

Output

Type: SessionInfo

Returns active session metadata.

Events

SessionStarted

0x0301

Published when a user session starts.

Payload

Type: SessionInfo

Contains metadata for the started session.

SessionEnded

0x0302

Published when the active session ends.

Payload

Type: Empty

No payload is emitted.