pub struct CompleteAuthenticationRequest {
pub client_operation_id: String,
pub challenge: Option<RecordRef>,
pub caller_public_key: Vec<u8>,
pub enroll_device: bool,
pub ephemeral_public_key: Vec<u8>,
pub proof: Option<Proof>,
}Fields§
§client_operation_id: String§challenge: Option<RecordRef>§caller_public_key: Vec<u8>Same key as BeginAuthentication. CallContext.request_proof signs the exact completion request with this key, including the passkey assertion.
enroll_device: boolPassword completion MUST set true and enroll the owner-admitted device. Other methods use the existing explicit browser consent path.
ephemeral_public_key: Vec<u8>When enroll_device == false, this 32-byte browser-derived ephemeral public key is what Weft delegates the short-TTL ephemeral session Biscuit to (PoP-bound to this key). The decline path holds no device root, so the ephemeral session is renewable and self-revocable against this key only. Forbidden for password completion: password never creates a temporary mint. Ignored when enroll_device == true (an enrolled device roots its own key).
proof: Option<Proof>Trait Implementations§
impl Eq for CompleteAuthenticationRequest
Source§impl Hash for CompleteAuthenticationRequest
impl Hash for CompleteAuthenticationRequest
Source§impl Message for CompleteAuthenticationRequest
impl Message for CompleteAuthenticationRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.impl StructuralPartialEq for CompleteAuthenticationRequest
Auto Trait Implementations§
impl Freeze for CompleteAuthenticationRequest
impl RefUnwindSafe for CompleteAuthenticationRequest
impl Send for CompleteAuthenticationRequest
impl Sync for CompleteAuthenticationRequest
impl Unpin for CompleteAuthenticationRequest
impl UnsafeUnpin for CompleteAuthenticationRequest
impl UnwindSafe for CompleteAuthenticationRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more