[−][src]Struct okra::okta::apis::UserFactorApiClient
Methods
impl UserFactorApiClient
[src]
pub fn new(configuration: Configuration) -> Self
[src]
pub fn list_factors(&self, user_id: String) -> Result<Vec<Factor>, Error>
[src]
pub fn add_factor(
&self,
user_id: String,
update_phone: bool,
template_id: String,
token_lifetime_seconds: i32,
activate: bool,
body: Factor
) -> Result<Factor, Error>
[src]
&self,
user_id: String,
update_phone: bool,
template_id: String,
token_lifetime_seconds: i32,
activate: bool,
body: Factor
) -> Result<Factor, Error>
pub fn list_supported_factors(
&self,
user_id: String
) -> Result<Vec<Factor>, Error>
[src]
&self,
user_id: String
) -> Result<Vec<Factor>, Error>
pub fn list_supported_security_questions(
&self,
user_id: String
) -> Result<Vec<SecurityQuestion>, Error>
[src]
&self,
user_id: String
) -> Result<Vec<SecurityQuestion>, Error>
pub fn get_factor(
&self,
user_id: String,
factor_id: String
) -> Result<Factor, Error>
[src]
&self,
user_id: String,
factor_id: String
) -> Result<Factor, Error>
pub fn delete_factor(
&self,
user_id: String,
factor_id: String
) -> Result<(), Error>
[src]
&self,
user_id: String,
factor_id: String
) -> Result<(), Error>
pub fn activate_factor(
&self,
user_id: String,
factor_id: String,
body: VerifyFactorRequest
) -> Result<Factor, Error>
[src]
&self,
user_id: String,
factor_id: String,
body: VerifyFactorRequest
) -> Result<Factor, Error>
pub fn verify_factor(
&self,
user_id: String,
factor_id: String,
template_id: String,
token_lifetime_seconds: i32,
body: VerifyFactorRequest
) -> Result<VerifyFactorResponse, Error>
[src]
&self,
user_id: String,
factor_id: String,
template_id: String,
token_lifetime_seconds: i32,
body: VerifyFactorRequest
) -> Result<VerifyFactorResponse, Error>
Auto Trait Implementations
impl Send for UserFactorApiClient
impl Sync for UserFactorApiClient
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,