[][src]Struct okra::okta::apis::UserFactorApiClient

pub struct UserFactorApiClient { /* fields omitted */ }

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]

pub fn list_supported_factors(
    &self,
    user_id: String
) -> Result<Vec<Factor>, Error>
[src]

pub fn list_supported_security_questions(
    &self,
    user_id: String
) -> Result<Vec<SecurityQuestion>, Error>
[src]

pub fn get_factor(
    &self,
    user_id: String,
    factor_id: String
) -> Result<Factor, Error>
[src]

pub fn delete_factor(
    &self,
    user_id: String,
    factor_id: String
) -> Result<(), Error>
[src]

pub fn activate_factor(
    &self,
    user_id: String,
    factor_id: String,
    body: VerifyFactorRequest
) -> Result<Factor, Error>
[src]

pub fn verify_factor(
    &self,
    user_id: String,
    factor_id: String,
    template_id: String,
    token_lifetime_seconds: i32,
    body: VerifyFactorRequest
) -> Result<VerifyFactorResponse, Error>
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err