use identity_did::DIDUrl;
use identity_verification::MethodScope;
#[non_exhaustive]
#[derive(Default, Debug, serde::Serialize, serde::Deserialize, Clone)]
#[serde(rename_all = "camelCase")]
pub struct JwpVerificationOptions {
pub method_scope: Option<MethodScope>,
pub method_id: Option<DIDUrl>,
}
impl JwpVerificationOptions {
pub fn new() -> Self {
Self::default()
}
pub fn method_scope(mut self, value: MethodScope) -> Self {
self.method_scope = Some(value);
self
}
pub fn method_id(mut self, value: DIDUrl) -> Self {
self.method_id = Some(value);
self
}
}