wip passkey registration day 2
This commit is contained in:
@@ -123,8 +123,28 @@ message PasskeyPayload {
|
||||
|
||||
message PasskeyCredentialCreateOptions{
|
||||
string challenge = 1;
|
||||
string userId = 2;
|
||||
PublicKeyCredentialUser user = 2;
|
||||
PublicKeyCredentialRpEntity rp = 3;
|
||||
repeated PubKeyCredParam pubKeyParams = 4;
|
||||
}
|
||||
|
||||
message PubKeyCredParam{
|
||||
string alg = 1;
|
||||
string type = 2;
|
||||
}
|
||||
|
||||
message PublicKeyCredentialRpEntity{
|
||||
string id = 1;
|
||||
string icon = 2;
|
||||
string name = 3;
|
||||
}
|
||||
|
||||
message PublicKeyCredentialUser{
|
||||
string id = 1;
|
||||
string name = 2;
|
||||
string displayName = 3;
|
||||
}
|
||||
|
||||
message PasskeyRegistrationCredentials{
|
||||
string id = 1;
|
||||
string rawId = 2;
|
||||
@@ -136,4 +156,11 @@ message CredentialsClientResponse{
|
||||
string clientDataJSON = 1;
|
||||
string attestationObject = 2;
|
||||
string authenticatorData = 3;
|
||||
}
|
||||
}
|
||||
|
||||
message PublicKeyCredentialDescriptor{
|
||||
string type = 1;
|
||||
string id = 2;
|
||||
repeated string transports = 3;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user