windows::Security::Authentication::Web::Provider

Struct WebAccountManager

pub struct WebAccountManager;

Implementations§

§

impl WebAccountManager

pub fn UpdateWebAccountPropertiesAsync<P0, P2>( webaccount: P0, webaccountusername: &HSTRING, additionalproperties: P2, ) -> Result<IAsyncAction>
where P0: Param<WebAccount>, P2: Param<IMapView<HSTRING, HSTRING>>,

pub fn AddWebAccountAsync<P2>( webaccountid: &HSTRING, webaccountusername: &HSTRING, props: P2, ) -> Result<IAsyncOperation<WebAccount>>
where P2: Param<IMapView<HSTRING, HSTRING>>,

pub fn DeleteWebAccountAsync<P0>(webaccount: P0) -> Result<IAsyncAction>
where P0: Param<WebAccount>,

pub fn FindAllProviderWebAccountsAsync() -> Result<IAsyncOperation<IVectorView<WebAccount>>>

pub fn PushCookiesAsync<P0, P1>(uri: P0, cookies: P1) -> Result<IAsyncAction>
where P0: Param<Uri>, P1: Param<IVectorView<HttpCookie>>,

pub fn SetViewAsync<P0, P1>(webaccount: P0, view: P1) -> Result<IAsyncAction>
where P0: Param<WebAccount>, P1: Param<WebAccountClientView>,

pub fn ClearViewAsync<P0, P1>( webaccount: P0, applicationcallbackuri: P1, ) -> Result<IAsyncAction>
where P0: Param<WebAccount>, P1: Param<Uri>,

pub fn GetViewsAsync<P0>( webaccount: P0, ) -> Result<IAsyncOperation<IVectorView<WebAccountClientView>>>
where P0: Param<WebAccount>,

pub fn SetWebAccountPictureAsync<P0, P1>( webaccount: P0, webaccountpicture: P1, ) -> Result<IAsyncAction>
where P0: Param<WebAccount>, P1: Param<IRandomAccessStream>,

pub fn ClearWebAccountPictureAsync<P0>(webaccount: P0) -> Result<IAsyncAction>
where P0: Param<WebAccount>,

pub fn PullCookiesAsync( uristring: &HSTRING, callerpfn: &HSTRING, ) -> Result<IAsyncAction>

pub fn FindAllProviderWebAccountsForUserAsync<P0>( user: P0, ) -> Result<IAsyncOperation<IVectorView<WebAccount>>>
where P0: Param<User>,

pub fn AddWebAccountForUserAsync<P0, P3>( user: P0, webaccountid: &HSTRING, webaccountusername: &HSTRING, props: P3, ) -> Result<IAsyncOperation<WebAccount>>
where P0: Param<User>, P3: Param<IMapView<HSTRING, HSTRING>>,

pub fn AddWebAccountWithScopeForUserAsync<P0, P3>( user: P0, webaccountid: &HSTRING, webaccountusername: &HSTRING, props: P3, scope: WebAccountScope, ) -> Result<IAsyncOperation<WebAccount>>
where P0: Param<User>, P3: Param<IMapView<HSTRING, HSTRING>>,

pub fn AddWebAccountWithScopeAndMapForUserAsync<P0, P3>( user: P0, webaccountid: &HSTRING, webaccountusername: &HSTRING, props: P3, scope: WebAccountScope, peruserwebaccountid: &HSTRING, ) -> Result<IAsyncOperation<WebAccount>>
where P0: Param<User>, P3: Param<IMapView<HSTRING, HSTRING>>,

pub fn InvalidateAppCacheForAllAccountsAsync() -> Result<IAsyncAction>

pub fn InvalidateAppCacheForAccountAsync<P0>( webaccount: P0, ) -> Result<IAsyncAction>
where P0: Param<WebAccount>,

pub fn AddWebAccountWithScopeAndMapAsync<P2>( webaccountid: &HSTRING, webaccountusername: &HSTRING, props: P2, scope: WebAccountScope, peruserwebaccountid: &HSTRING, ) -> Result<IAsyncOperation<WebAccount>>
where P2: Param<IMapView<HSTRING, HSTRING>>,

pub fn SetPerAppToPerUserAccountAsync<P0>( perappaccount: P0, peruserwebaccountid: &HSTRING, ) -> Result<IAsyncAction>
where P0: Param<WebAccount>,

pub fn GetPerUserFromPerAppAccountAsync<P0>( perappaccount: P0, ) -> Result<IAsyncOperation<WebAccount>>
where P0: Param<WebAccount>,

pub fn ClearPerUserFromPerAppAccountAsync<P0>( perappaccount: P0, ) -> Result<IAsyncAction>
where P0: Param<WebAccount>,

pub fn AddWebAccountWithScopeAsync<P2>( webaccountid: &HSTRING, webaccountusername: &HSTRING, props: P2, scope: WebAccountScope, ) -> Result<IAsyncOperation<WebAccount>>
where P2: Param<IMapView<HSTRING, HSTRING>>,

pub fn SetScopeAsync<P0>( webaccount: P0, scope: WebAccountScope, ) -> Result<IAsyncAction>
where P0: Param<WebAccount>,

pub fn GetScope<P0>(webaccount: P0) -> Result<WebAccountScope>
where P0: Param<WebAccount>,

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

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.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.