Get desktop application:
View/edit binary Protocol Buffers messages
SessionsService is a service responsible for managing, renewing and revoking user sessions
New creates a session
NewRequest is the request for the New method
user_id is the ID of the user who's session is going to be created
remote_addr is the IP address from where the user has done the request
NewResponse is the response for the New method
id is the ID of the session
time contains all the information related with the lifespan of the session
Get returns a session
GetRequest is the request for the Get method
id is the session ID
remote_addr is the IP address from where the user has done the request
GetResponse is the response for the Get method
time contains all the information related with the lifespan of the session
GetUserSession returns the session of a user
GetUserSessionRequest is the request for the GetUserSession method
user_id is the ID of the user
GetUserSessionResponse is the response for the GetUserSession method
id is the ID of the session
time contains all the information related with the lifespan of the session
Renew renews a session expire time
RenewRequest is the request for the Renew method
id is the session ID
remote_addr is the IP address from where the user has done the request
RenewResponse is the response for the Renew method
time contains all the information related with the lifespan of the session
Revoke revokes a session to avoid it being used
RevokeRequest is the request for the Revoke method
id is the session ID
RevokeResponse is the response for the Revoke method
(message has no fields)
GetResponseTime contains all the information related with the lifespan of the session
Used in:
max_time is the time when the session will expire and won't be able to be renewed
max_renew_time is the time when the session won't be able to be renewed
expiration_time is the time when the session will expire if it's not renewed
GetUserSessionResponseTime contains all the information related with the lifespan of the session
Used in:
max_time is the time when the session will expire and won't be able to be renewed
max_renew_time is the time when the session won't be able to be renewed
expiration_time is the time when the session will expire if it's not renewed
NewResponseTime contains all the information related with the lifespan of the session
Used in:
max_time is the time when the session will expire and won't be able to be renewed
max_renew_time is the time when the session won't be able to be renewed
expiration_time is the time when the session will expire if it's not renewed
RenewResponseTime contains all the information related with the lifespan of the session
Used in:
max_time is the time when the session will expire and won't be able to be renewed
max_renew_time is the time when the session won't be able to be renewed
expiration_time is the time when the session will expire if it's not renewed