Struct windows::Security::Authentication::OnlineId::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: IntoParam<OnlineIdServiceTicketRequest>,
pub fn AuthenticateUserAsyncAdvanced<P0>(
&self,
requests: P0,
credentialprompttype: CredentialPromptType
) -> Result<UserAuthenticationOperation>where
P0: IntoParam<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 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
§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.
§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§impl PartialEq for OnlineIdAuthenticator
impl PartialEq for OnlineIdAuthenticator
§fn eq(&self, other: &OnlineIdAuthenticator) -> bool
fn eq(&self, other: &OnlineIdAuthenticator) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for OnlineIdAuthenticator
impl Send for OnlineIdAuthenticator
impl StructuralPartialEq for OnlineIdAuthenticator
impl Sync for OnlineIdAuthenticator
Auto Trait Implementations§
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