pub struct AuthClientCreateOptions {
pub identity: Option<ArcIdentity>,
pub storage: Option<AuthClientStorageType>,
pub key_type: Option<BaseKeyType>,
pub idle_options: Option<IdleOptions>,
}Expand description
Options for creating a new AuthClient.
Fields§
§identity: Option<ArcIdentity>An optional identity to use as the base. If not provided, an Ed25519 key pair will be used.
storage: Option<AuthClientStorageType>Optional storage with get, set, and remove methods. Currentry only LocalStorage is supported.
key_type: Option<BaseKeyType>The type of key to use for the base key. If not provided, Ed25519 will be used by default.
idle_options: Option<IdleOptions>Options for handling idle timeouts. If not provided, default options will be used.
Trait Implementations§
Source§impl Clone for AuthClientCreateOptions
impl Clone for AuthClientCreateOptions
Source§fn clone(&self) -> AuthClientCreateOptions
fn clone(&self) -> AuthClientCreateOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for AuthClientCreateOptions
impl Default for AuthClientCreateOptions
Source§fn default() -> AuthClientCreateOptions
fn default() -> AuthClientCreateOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AuthClientCreateOptions
impl !RefUnwindSafe for AuthClientCreateOptions
impl Send for AuthClientCreateOptions
impl Sync for AuthClientCreateOptions
impl Unpin for AuthClientCreateOptions
impl !UnwindSafe for AuthClientCreateOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more