mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 19:39:11 +00:00
22 lines
No EOL
391 B
Protocol Buffer
22 lines
No EOL
391 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package roleypoly.auth;
|
|
option go_package = "github.com/roleypoly/roleypoly/src/rpc/auth";
|
|
|
|
message Token {
|
|
string token = 1;
|
|
Type type = 2;
|
|
string state = 3;
|
|
|
|
enum Type {
|
|
unknown = 0;
|
|
sessionKey = 1;
|
|
clientToken = 2;
|
|
}
|
|
}
|
|
|
|
message AuthChallenge {
|
|
string userID = 1;
|
|
string magicUrl = 2;
|
|
string magicWords = 3;
|
|
} |