pub struct QueryServerReadV1 { /* private fields */ }

Implementations§

source§

impl QueryServerReadV1

source

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

source

pub fn start_static(idms: Arc<IdmServer>, ldap: Arc<LdapServer>) -> &'static Self

source

pub async fn handle_auth( &self, sessionid: Option<Uuid>, req: AuthRequest, eventid: Uuid ) -> Result<AuthResult, OperationError>

source

pub async fn handle_reauth( &self, uat: Option<String>, issue: AuthIssueSession, eventid: Uuid ) -> Result<AuthResult, OperationError>

source

pub async fn handle_online_backup( &self, msg: OnlineBackupEvent, outpath: &str, versions: usize ) -> Result<(), OperationError>

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

pub async fn handle_idmcredentialupdate( &self, session_token: CUSessionToken, scr: CURequest, eventid: Uuid ) -> Result<CUStatus, OperationError>

source

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

source

pub async fn handle_oauth2_authorise( &self, uat: Option<String>, auth_req: AuthorisationRequest, eventid: Uuid ) -> Result<AuthoriseResponse, Oauth2Error>

source

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

source

pub async fn handle_oauth2_token_introspect( &self, client_authz: String, intr_req: AccessTokenIntrospectRequest, eventid: Uuid ) -> Result<AccessTokenIntrospectResponse, Oauth2Error>

source

pub async fn handle_oauth2_openid_userinfo( &self, client_id: String, client_authz: String, eventid: Uuid ) -> Result<OidcToken, Oauth2Error>

source

pub async fn handle_oauth2_openid_discovery( &self, client_id: String, eventid: Uuid ) -> Result<OidcDiscoveryResponse, OperationError>

source

pub async fn handle_oauth2_openid_publickey( &self, client_id: String, eventid: Uuid ) -> Result<JwkKeySet, OperationError>

source

pub async fn get_domain_display_name(&self, eventid: Uuid) -> String

source

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

source

pub async fn handle_ldaprequest( &self, eventid: Uuid, protomsg: LdapMsg, uat: Option<LdapBoundToken> ) -> Option<LdapResponseState>

source§

impl QueryServerReadV1

source

pub async fn handle_scim_sync_status( &self, bearer: Option<String>, eventid: Uuid ) -> Result<ScimSyncState, OperationError>

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