A session for a user.

interface Session {
    id: SessionId;
    role: Role;
    type: SessionType;
    user: User;
}

Properties

Properties

The session ID

role: Role

The role the user is acting as.

The type of session. Either user or service.

user: User

The user