Fields
log_level: Option<u32>
Implementations
sourceimpl QueryServerReadV1
impl QueryServerReadV1
pub fn new(
log_level: Option<u32>,
idms: Arc<IdmServer>,
ldap: Arc<LdapServer>
) -> Self
pub fn start_static(
log_level: Option<u32>,
idms: Arc<IdmServer>,
ldap: Arc<LdapServer>
) -> &'static Self
pub async fn handle_search(
&self,
uat: Option<String>,
req: SearchRequest,
eventid: Uuid
) -> Result<SearchResponse, OperationError>
pub async fn handle_auth(
&self,
sessionid: Option<Uuid>,
req: AuthRequest,
eventid: Uuid
) -> Result<AuthResult, OperationError>
pub async fn handle_online_backup(
&self,
msg: OnlineBackupEvent,
outpath: &str,
versions: usize
)
pub async fn handle_whoami(
&self,
uat: Option<String>,
eventid: Uuid
) -> Result<WhoamiResponse, OperationError>
pub async fn handle_internalsearch(
&self,
uat: Option<String>,
filter: Filter<FilterInvalid>,
attrs: Option<Vec<String>>,
eventid: Uuid
) -> Result<Vec<ProtoEntry>, OperationError>
pub async fn handle_internalsearchrecycled(
&self,
uat: Option<String>,
filter: Filter<FilterInvalid>,
attrs: Option<Vec<String>>,
eventid: Uuid
) -> Result<Vec<ProtoEntry>, OperationError>
pub async fn handle_internalradiusread(
&self,
uat: Option<String>,
uuid_or_name: String,
eventid: Uuid
) -> Result<Option<String>, OperationError>
pub async fn handle_internalradiustokenread(
&self,
uat: Option<String>,
uuid_or_name: String,
eventid: Uuid
) -> Result<RadiusAuthToken, OperationError>
pub async fn handle_internalunixusertokenread(
&self,
uat: Option<String>,
uuid_or_name: String,
eventid: Uuid
) -> Result<UnixUserToken, OperationError>
pub async fn handle_internalunixgrouptokenread(
&self,
uat: Option<String>,
uuid_or_name: String,
eventid: Uuid
) -> Result<UnixGroupToken, OperationError>
pub async fn handle_internalsshkeyread(
&self,
uat: Option<String>,
uuid_or_name: String,
eventid: Uuid
) -> Result<Vec<String>, OperationError>
pub async fn handle_internalsshkeytagread(
&self,
uat: Option<String>,
uuid_or_name: String,
tag: String,
eventid: Uuid
) -> Result<Option<String>, OperationError>
pub async fn handle_idmaccountunixauth(
&self,
uat: Option<String>,
uuid_or_name: String,
cred: String,
eventid: Uuid
) -> Result<Option<UnixUserToken>, OperationError>
pub async fn handle_idmcredentialstatus(
&self,
uat: Option<String>,
uuid_or_name: String,
eventid: Uuid
) -> Result<CredentialStatus, OperationError>
pub async fn handle_idmbackupcodeview(
&self,
uat: Option<String>,
uuid_or_name: String,
eventid: Uuid
) -> Result<BackupCodesView, OperationError>
pub async fn handle_idmcredentialupdatestatus(
&self,
session_token: CUSessionToken,
eventid: Uuid
) -> Result<CUStatus, OperationError>
pub async fn handle_idmcredentialupdate(
&self,
session_token: CUSessionToken,
scr: CURequest,
eventid: Uuid
) -> Result<CUStatus, OperationError>
pub async fn handle_oauth2_token_exchange(
&self,
client_authz: Option<String>,
token_req: AccessTokenRequest,
eventid: Uuid
) -> Result<AccessTokenResponse, Oauth2Error>
pub async fn handle_oauth2_token_introspect(
&self,
client_authz: String,
intr_req: AccessTokenIntrospectRequest,
eventid: Uuid
) -> Result<AccessTokenIntrospectResponse, Oauth2Error>
pub async fn handle_oauth2_openid_userinfo(
&self,
client_id: String,
client_authz: String,
eventid: Uuid
) -> Result<OidcToken, Oauth2Error>
pub async fn handle_oauth2_openid_discovery(
&self,
client_id: String,
eventid: Uuid
) -> Result<OidcDiscoveryResponse, OperationError>
pub async fn handle_oauth2_openid_publickey(
&self,
client_id: String,
eventid: Uuid
) -> Result<JwkKeySet, OperationError>
pub async fn get_domain_display_name(&self, eventid: Uuid) -> String
pub async fn handle_auth_valid(
&self,
uat: Option<String>,
eventid: Uuid
) -> Result<(), OperationError>
pub async fn handle_ldaprequest(
&self,
eventid: Uuid,
protomsg: LdapMsg,
uat: Option<LdapBoundToken>
) -> Option<LdapResponseState>
Auto Trait Implementations
impl !RefUnwindSafe for QueryServerReadV1
impl Send for QueryServerReadV1
impl Sync for QueryServerReadV1
impl Unpin for QueryServerReadV1
impl !UnwindSafe for QueryServerReadV1
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Pointable for T
impl<T> Pointable for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more