pub struct IamCertOAuth2Serv;Implementations§
Source§impl IamCertOAuth2Serv
impl IamCertOAuth2Serv
pub async fn add_cert_conf( cert_supplier: IamCertOAuth2Supplier, add_req: &IamCertConfOAuth2AddOrModifyReq, rel_iam_item_id: &str, funs: &TardisFunsInst, ctx: &TardisContext, ) -> TardisResult<String>
pub async fn modify_cert_conf( id: &str, modify_req: &IamCertConfOAuth2AddOrModifyReq, funs: &TardisFunsInst, ctx: &TardisContext, ) -> TardisResult<()>
pub async fn get_cert_conf( id: &str, funs: &TardisFunsInst, ctx: &TardisContext, ) -> TardisResult<IamCertConfOAuth2Resp>
pub async fn add_or_modify_cert( add_or_modify_req: &IamCertOAuth2AddOrModifyReq, account_id: &str, rel_rbum_cert_conf_id: &str, funs: &TardisFunsInst, ctx: &TardisContext, ) -> TardisResult<()>
pub async fn get_cert_rel_account_by_open_id( open_id: &str, rel_rbum_cert_conf_id: &str, funs: &TardisFunsInst, ctx: &TardisContext, ) -> TardisResult<Option<String>>
pub async fn get_or_add_account( cert_supplier: IamCertOAuth2Supplier, code: &str, tenant_id: &str, funs: &TardisFunsInst, ) -> TardisResult<(String, String)>
pub async fn add_or_enable_cert_conf( supplier: IamCertOAuth2Supplier, add_req: &IamCertConfOAuth2AddOrModifyReq, rel_iam_item_id: &str, funs: &TardisFunsInst, ctx: &TardisContext, ) -> TardisResult<String>
Auto Trait Implementations§
impl Freeze for IamCertOAuth2Serv
impl RefUnwindSafe for IamCertOAuth2Serv
impl Send for IamCertOAuth2Serv
impl Sync for IamCertOAuth2Serv
impl Unpin for IamCertOAuth2Serv
impl UnwindSafe for IamCertOAuth2Serv
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more