Passkeys are like passwords but better. They’re better because they aren’t created insecurely by humans and because they use public key cryptography to create much more secure experiences.
// FromAtoB is a simplified version of fromAtoB’s backend API. service FromAtoB { rpc Lookup(LookupRequest) returns (Coordinate) {} }
// A LookupRequest is a request to look up the coordinates for a city by name. message LookupRequest { string name = 1; }
// A Coordinate identifies a location on Earth by latitude and longitude. message Coordinate { // Latitude is the degrees latitude of the location, in the range [-90, 90]. double latitude = 1;
// Longitude is the degrees longitude of the location, in the range [-180, 180]. double longitude = 2; }