// niantic_platform_auth_core.proto // Reconstructed from com.nianticlabs.pokemongo 0.431.0 (versionCode 2026092402, arm64-v8a). // Field numbers were recovered from the compiled parsers; names come from the C# types, // so some may differ from Niantic's originals. Study material, not an official API. syntax = "proto3"; package niantic.platform.auth; message AppleToken { string id_token = 1; bytes session_token = 2; string code = 3; } message AuthenticateAppleSignInRequestProto { bytes apple_id_token = 1; bytes auth_code = 2; repeated string accepted_client_ids = 3; } message AuthenticateAppleSignInResponseProto { Status status = 1; bytes nia_apple_auth_token = 2; enum Status { STATUS_UNSET = 0; STATUS_SUCCESS = 1; STATUS_INVALID_AUTH = 2; STATUS_SERVER_ERROR = 3; } } message FbTokenProto { string token = 1; string nonce = 2; bool is_limited_login_token = 3; } message GoogleToken { string id_token = 1; } message NianticThirdPartyAuthProtobufRequest { bytes provider_token = 1; string auth_provider_id = 2; string audience = 3; string app_key = 4; bool should_create = 5; string client_id = 6; } message NianticThirdPartyAuthProtobufResponse { string niantic_token = 1; string niantic_refresh_token = 2; } message SuperAwesomeTokenProto { string token = 1; string code = 2; string username = 3; string password = 4; } message ValidateNiaAppleAuthTokenRequestProto { bytes nia_apple_auth_token = 1; } message ValidateNiaAppleAuthTokenResponseProto { Status status = 1; string apple_user_id = 2; string apple_email = 3; string apple_client_id = 4; enum Status { STATUS_UNSET = 0; STATUS_SUCCESS = 1; STATUS_INVALID_AUTH = 2; STATUS_EXPIRED_AUTH = 3; STATUS_SERVER_ERROR = 4; } }