diff --git a/src/instance.rs b/src/instance.rs index 67d7bd2..0faacb3 100644 --- a/src/instance.rs +++ b/src/instance.rs @@ -236,13 +236,14 @@ impl ChorusUser { } /// Sends a request to complete an MFA challenge. - /// # Reference - /// See /// /// If successful, the MFA verification JWT returned is set on the current [ChorusUser] executing the /// request. /// /// The JWT token expires after 5 minutes. + /// + /// # Reference + /// See pub async fn complete_mfa_challenge(&mut self, mfa_verify_schema: MfaVerifySchema) -> ChorusResult<()> { let endpoint_url = self.belongs_to.read().unwrap().urls.api.clone() + "/mfa/finish"; let chorus_request = ChorusRequest { diff --git a/src/types/entities/mfa_token.rs b/src/types/entities/mfa_token.rs index 1c2a3e8..3bd5c13 100644 --- a/src/types/entities/mfa_token.rs +++ b/src/types/entities/mfa_token.rs @@ -1,3 +1,7 @@ +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. + use chrono::{DateTime, Utc}; #[derive(Debug, Clone)]