The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

LoginMixin Class

Summary

Helper methods that assist with login operations and storing related data.
Namespace
Akavache
Base Types
  • object
graph BT Type-->Base0["object"] Type["LoginMixin"] class Type type-node

Syntax

public static class LoginMixin

Methods

Name Value Summary
EraseLogin(ISecureBlobCache, string) IObservable<Unit>
Erases the login associated with the specified host.
static
GetLoginAsync(ISecureBlobCache, string) IObservable<LoginInfo>
Returns the currently cached user/password. If the cache does not contain a user/password, this returns an Observable which OnError's with KeyNotFoundException.
static
SaveLogin(ISecureBlobCache, string, string, string, DateTimeOffset?) IObservable<Unit>
Save a user/password combination in a secure blob cache. Note that this method only allows exactly *one* user/pass combo to be saved, calling this more than once will overwrite the previous entry.
static

Extension Methods

Name Value Summary
InvokeViewModelAction<T>(Action<T>) object
This is a thing I lifted from Prism.