pub struct ExternalAuthorization {
pub auth_users: Vec<String>,
pub allowed_accounts: Vec<String>,
pub xkey: String,
}Expand description
External (delegated) authorization config for an account: auth is performed
by an external service rather than by per-user NKeys.
Fields§
§auth_users: Vec<String>User public NKeys (U…) the external auth callout runs as.
allowed_accounts: Vec<String>Account public NKeys (A…) the callout may place users into.
xkey: StringCurve (X…) xkey used to encrypt the auth-callout request (empty = none).
Trait Implementations§
Source§impl Clone for ExternalAuthorization
impl Clone for ExternalAuthorization
Source§fn clone(&self) -> ExternalAuthorization
fn clone(&self) -> ExternalAuthorization
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExternalAuthorization
impl Default for ExternalAuthorization
Source§fn default() -> ExternalAuthorization
fn default() -> ExternalAuthorization
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExternalAuthorization
impl RefUnwindSafe for ExternalAuthorization
impl Send for ExternalAuthorization
impl Sync for ExternalAuthorization
impl Unpin for ExternalAuthorization
impl UnsafeUnpin for ExternalAuthorization
impl UnwindSafe for ExternalAuthorization
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