[][src]Struct ironoxide::user::UserCreateOpts

pub struct UserCreateOpts { /* fields omitted */ }

Options that can be specified at when calling user_create.

Methods

impl UserCreateOpts[src]

pub fn new(needs_rotation: bool) -> UserCreateOpts[src]

Constructor. Also see default.

Arguments

  • needs_rotation - Set to true if the private key for this user should be rotated when the user "takes control" of their keys.

The main use case for this is a workflow that requires that users and groups to be generated prior to the user logging in for the first time. In this situation, a user's cryptographic identity can be generated by a third party, like a server process, and then the user can take control of their keys by rotating the private key using rotate_private_key.

Trait Implementations

impl Default for UserCreateOpts[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> Clear for T where
    T: InitializableFromZeroed + ?Sized

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

impl<T> InitializableFromZeroed for T where
    T: Default

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.