Initial Commit

This commit is contained in:
kokarare1212
2021-02-24 08:46:59 +09:00
parent 6bee6cd53a
commit 01dae8ada4
160 changed files with 29238 additions and 4 deletions

View File

@@ -0,0 +1,19 @@
syntax = "proto3";
package spotify.login5.v3.challenges;
option java_package = "com.spotify.login5v3";
message CodeChallenge {
enum Method {
UNKNOWN = 0;
SMS = 1;
}
.spotify.login5.v3.challenges.CodeChallenge.Method method = 1;
int32 code_length = 2;
int32 expires_in = 3;
string canonical_phone_number = 4;
}
message CodeSolution {
string code = 1;
}

View File

@@ -0,0 +1,16 @@
syntax = "proto3";
package spotify.login5.v3.challenges;
option java_package = "com.spotify.login5v3";
import "google/protobuf/duration.proto";
message HashcashChallenge {
bytes prefix = 1;
int32 length = 2;
}
message HashcashSolution {
bytes suffix = 1;
.google.protobuf.Duration duration = 2;
}