Struct OnlineIdAuthenticator
pub struct OnlineIdAuthenticator(/* private fields */);
Implementations§
§impl OnlineIdAuthenticator
impl OnlineIdAuthenticator
pub fn new() -> Result<Self>
pub fn AuthenticateUserAsync<P0>(
&self,
request: P0,
) -> Result<UserAuthenticationOperation>where
P0: Param<OnlineIdServiceTicketRequest>,
pub fn AuthenticateUserAsyncAdvanced<P0>(
&self,
requests: P0,
credentialprompttype: CredentialPromptType,
) -> Result<UserAuthenticationOperation>where
P0: Param<IIterable<OnlineIdServiceTicketRequest>>,
pub fn SignOutUserAsync(&self) -> Result<SignOutUserOperation>
pub fn SetApplicationId(&self, value: GUID) -> Result<()>
pub fn ApplicationId(&self) -> Result<GUID>
pub fn CanSignOut(&self) -> Result<bool>
pub fn AuthenticatedSafeCustomerId(&self) -> Result<HSTRING>
Trait Implementations§
§impl CanInto<IInspectable> for OnlineIdAuthenticator
impl CanInto<IInspectable> for OnlineIdAuthenticator
§impl CanInto<IUnknown> for OnlineIdAuthenticator
impl CanInto<IUnknown> for OnlineIdAuthenticator
§impl Clone for OnlineIdAuthenticator
impl Clone for OnlineIdAuthenticator
§fn clone(&self) -> OnlineIdAuthenticator
fn clone(&self) -> OnlineIdAuthenticator
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for OnlineIdAuthenticator
impl Debug for OnlineIdAuthenticator
§impl From<&OnlineIdAuthenticator> for &IInspectable
impl From<&OnlineIdAuthenticator> for &IInspectable
§fn from(value: &OnlineIdAuthenticator) -> Self
fn from(value: &OnlineIdAuthenticator) -> Self
Converts to this type from the input type.
§impl From<&OnlineIdAuthenticator> for &IUnknown
impl From<&OnlineIdAuthenticator> for &IUnknown
§fn from(value: &OnlineIdAuthenticator) -> Self
fn from(value: &OnlineIdAuthenticator) -> Self
Converts to this type from the input type.
§impl From<OnlineIdAuthenticator> for IInspectable
impl From<OnlineIdAuthenticator> for IInspectable
§fn from(value: OnlineIdAuthenticator) -> Self
fn from(value: OnlineIdAuthenticator) -> Self
Converts to this type from the input type.
§impl From<OnlineIdAuthenticator> for IUnknown
impl From<OnlineIdAuthenticator> for IUnknown
§fn from(value: OnlineIdAuthenticator) -> Self
fn from(value: OnlineIdAuthenticator) -> Self
Converts to this type from the input type.
§impl Interface for OnlineIdAuthenticator
impl Interface for OnlineIdAuthenticator
§const IID: GUID = <IOnlineIdAuthenticator as windows_core::Interface>::IID
const IID: GUID = <IOnlineIdAuthenticator as windows_core::Interface>::IID
The
GUID
associated with the interface.§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for OnlineIdAuthenticator
impl PartialEq for OnlineIdAuthenticator
impl Eq for OnlineIdAuthenticator
impl Send for OnlineIdAuthenticator
impl StructuralPartialEq for OnlineIdAuthenticator
impl Sync for OnlineIdAuthenticator
Auto Trait Implementations§
impl Freeze for OnlineIdAuthenticator
impl RefUnwindSafe for OnlineIdAuthenticator
impl Unpin for OnlineIdAuthenticator
impl UnwindSafe for OnlineIdAuthenticator
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