mirror of
https://github.com/standardnotes/server
synced 2026-10-19 00:03:11 -04:00
* chore: release latest changes * update yarn lockfile * remove stale files * fix ci env * remove mysql command overwrite * remove mysql overwrite from example * fix cookie cooldown in memory
32 lines
663 B
Protocol Buffer
32 lines
663 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package auth;
|
|
|
|
message Cookie {
|
|
string name = 1;
|
|
string value = 2;
|
|
}
|
|
|
|
message RequestValidationOptions {
|
|
string bearer_token = 1;
|
|
repeated Cookie cookie = 2;
|
|
optional string shared_vault_owner_context = 3;
|
|
}
|
|
|
|
message SessionValidationResponse {
|
|
string cross_service_token = 1;
|
|
}
|
|
|
|
message WebsocketConnectionAuthorizationHeader {
|
|
string token = 1;
|
|
}
|
|
|
|
message ConnectionValidationResponse {
|
|
string cross_service_token = 1;
|
|
}
|
|
|
|
service Auth {
|
|
rpc validate(RequestValidationOptions) returns (SessionValidationResponse) {}
|
|
rpc validateWebsocket(WebsocketConnectionAuthorizationHeader) returns (ConnectionValidationResponse) {}
|
|
}
|