pub struct QueryServerWriteV1 { /* private fields */ }

Implementations§

source§

impl QueryServerWriteV1

source

pub async fn handle_sync_account_token_generate( &self, uat: Option<String>, uuid_or_name: String, label: String, eventid: Uuid ) -> Result<String, OperationError>

source

pub async fn handle_sync_account_token_destroy( &self, uat: Option<String>, uuid_or_name: String, eventid: Uuid ) -> Result<(), OperationError>

source

pub async fn handle_sync_account_finalise( &self, uat: Option<String>, uuid_or_name: String, eventid: Uuid ) -> Result<(), OperationError>

source

pub async fn handle_sync_account_terminate( &self, uat: Option<String>, uuid_or_name: String, eventid: Uuid ) -> Result<(), OperationError>

source

pub async fn handle_scim_sync_apply( &self, bearer: Option<String>, changes: ScimSyncRequest, eventid: Uuid ) -> Result<(), OperationError>

source§

impl QueryServerWriteV1

source

pub fn new(idms: Arc<IdmServer>) -> Self

source

pub fn start_static(idms: Arc<IdmServer>) -> &'static QueryServerWriteV1

source

pub async fn handle_create( &self, uat: Option<String>, req: CreateRequest, eventid: Uuid ) -> Result<(), OperationError>

source

pub async fn handle_modify( &self, uat: Option<String>, req: ModifyRequest, eventid: Uuid ) -> Result<(), OperationError>

source

pub async fn handle_delete( &self, uat: Option<String>, req: DeleteRequest, eventid: Uuid ) -> Result<(), OperationError>

source

pub async fn handle_internalpatch( &self, uat: Option<String>, filter: Filter<FilterInvalid>, update: ProtoEntry, eventid: Uuid ) -> Result<(), OperationError>

source

pub async fn handle_internaldelete( &self, uat: Option<String>, filter: Filter<FilterInvalid>, eventid: Uuid ) -> Result<(), OperationError>

source

pub async fn handle_reviverecycled( &self, uat: Option<String>, filter: Filter<FilterInvalid>, eventid: Uuid ) -> Result<(), OperationError>

source

pub async fn handle_service_account_credential_generate( &self, uat: Option<String>, uuid_or_name: String, eventid: Uuid ) -> Result<String, OperationError>

source

pub async fn handle_service_account_api_token_generate( &self, uat: Option<String>, uuid_or_name: String, label: String, expiry: Option<OffsetDateTime>, read_write: bool, eventid: Uuid ) -> Result<String, OperationError>

source

pub async fn handle_service_account_api_token_destroy( &self, uat: Option<String>, uuid_or_name: String, token_id: Uuid, eventid: Uuid ) -> Result<(), OperationError>

source

pub async fn handle_account_user_auth_token_destroy( &self, uat: Option<String>, uuid_or_name: String, token_id: Uuid, eventid: Uuid ) -> Result<(), OperationError>

source

pub async fn handle_logout( &self, uat: Option<String>, eventid: Uuid ) -> Result<(), OperationError>

source

pub async fn handle_idmcredentialupdate( &self, uat: Option<String>, uuid_or_name: String, eventid: Uuid ) -> Result<(CUSessionToken, CUStatus), OperationError>

source

pub async fn handle_idmcredentialupdateintent( &self, uat: Option<String>, uuid_or_name: String, ttl: Option<Duration>, eventid: Uuid ) -> Result<CUIntentToken, OperationError>

source

pub async fn handle_idmcredentialexchangeintent( &self, intent_token: CUIntentToken, eventid: Uuid ) -> Result<(CUSessionToken, CUStatus), OperationError>

source

pub async fn handle_idmcredentialupdatecommit( &self, session_token: CUSessionToken, eventid: Uuid ) -> Result<(), OperationError>

source

pub async fn handle_idmcredentialupdatecancel( &self, session_token: CUSessionToken, eventid: Uuid ) -> Result<(), OperationError>

source

pub async fn handle_service_account_into_person( &self, uat: Option<String>, uuid_or_name: String, eventid: Uuid ) -> Result<(), OperationError>

source

pub async fn handle_regenerateradius( &self, uat: Option<String>, uuid_or_name: String, eventid: Uuid ) -> Result<String, OperationError>

source

pub async fn handle_purgeattribute( &self, uat: Option<String>, uuid_or_name: String, attr: String, filter: Filter<FilterInvalid>, eventid: Uuid ) -> Result<(), OperationError>

source

pub async fn handle_removeattributevalues( &self, uat: Option<String>, uuid_or_name: String, attr: String, values: Vec<String>, filter: Filter<FilterInvalid>, eventid: Uuid ) -> Result<(), OperationError>

source

pub async fn handle_appendattribute( &self, uat: Option<String>, uuid_or_name: String, attr: String, values: Vec<String>, filter: Filter<FilterInvalid>, eventid: Uuid ) -> Result<(), OperationError>

source

pub async fn handle_setattribute( &self, uat: Option<String>, uuid_or_name: String, attr: String, values: Vec<String>, filter: Filter<FilterInvalid>, eventid: Uuid ) -> Result<(), OperationError>

source

pub async fn handle_sshkeycreate( &self, uat: Option<String>, uuid_or_name: String, tag: String, key: String, filter: Filter<FilterInvalid>, eventid: Uuid ) -> Result<(), OperationError>

source

pub async fn handle_idmaccountunixextend( &self, uat: Option<String>, uuid_or_name: String, ux: AccountUnixExtend, eventid: Uuid ) -> Result<(), OperationError>

source

pub async fn handle_idmgroupunixextend( &self, uat: Option<String>, uuid_or_name: String, gx: GroupUnixExtend, eventid: Uuid ) -> Result<(), OperationError>

source

pub async fn handle_idmaccountunixsetcred( &self, uat: Option<String>, uuid_or_name: String, cred: String, eventid: Uuid ) -> Result<(), OperationError>

source

pub async fn handle_oauth2_scopemap_update( &self, uat: Option<String>, group: String, scopes: Vec<String>, filter: Filter<FilterInvalid>, eventid: Uuid ) -> Result<(), OperationError>

source

pub async fn handle_oauth2_scopemap_delete( &self, uat: Option<String>, group: String, filter: Filter<FilterInvalid>, eventid: Uuid ) -> Result<(), OperationError>

source

pub async fn handle_oauth2_sup_scopemap_update( &self, uat: Option<String>, group: String, scopes: Vec<String>, filter: Filter<FilterInvalid>, eventid: Uuid ) -> Result<(), OperationError>

source

pub async fn handle_oauth2_sup_scopemap_delete( &self, uat: Option<String>, group: String, filter: Filter<FilterInvalid>, eventid: Uuid ) -> Result<(), OperationError>

source

pub async fn handle_oauth2_authorise_permit( &self, uat: Option<String>, consent_req: String, eventid: Uuid ) -> Result<AuthorisePermitSuccess, OperationError>

source

pub async fn handle_oauth2_token_exchange( &self, client_authz: Option<String>, token_req: AccessTokenRequest, eventid: Uuid ) -> Result<AccessTokenResponse, Oauth2Error>

source

pub async fn handle_oauth2_token_revoke( &self, client_authz: String, intr_req: TokenRevokeRequest, eventid: Uuid ) -> Result<(), Oauth2Error>

source

pub async fn handle_purgetombstoneevent(&self, msg: PurgeTombstoneEvent)

source

pub async fn handle_purgerecycledevent(&self, msg: PurgeRecycledEvent)

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T> AsTaggedExplicit<'a> for Twhere T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self>

§

impl<'a, T> AsTaggedImplicit<'a> for Twhere T: 'a,

§

fn implicit( self, class: Class, constructed: bool, tag: u32 ) -> TaggedParser<'a, Implicit, Self>

source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

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

§

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

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more