goplayd/lib/spot/proto/content_access_token_cosmos...

37 lines
770 B
Protocol Buffer
Raw Permalink Normal View History

2023-01-11 17:08:26 +00:00
// Extracted from: Spotify 1.1.61.583 (Windows)
syntax = "proto3";
package spotify.contentaccesstoken.proto;
import "google/protobuf/timestamp.proto";
option java_multiple_files = true;
option optimize_for = CODE_SIZE;
option java_package = "com.spotify.contentaccesstoken.proto";
message ContentAccessTokenResponse {
Error error = 1;
ContentAccessToken content_access_token = 2;
}
message ContentAccessToken {
string token = 1;
google.protobuf.Timestamp expires_at = 2;
google.protobuf.Timestamp refresh_at = 3;
repeated string domains = 4;
}
message ContentAccessRefreshToken {
string token = 1;
}
message IsEnabledResponse {
bool is_enabled = 1;
}
message Error {
int32 error_code = 1;
string error_description = 2;
}