RelativeTimeExtensions.SaveLogin(ISecureBlobCache, string, string, string, TimeSpan) method¶
Defined in
Type: RelativeTimeExtensions
Namespace: ReactiveMarbles.CacheDatabase.Core
Assembly: ReactiveMarbles.CacheDatabase.Core.dll
Applies to
netstandard2.0
public static IObservable<Unit> SaveLogin(this ISecureBlobCache blobCache, string user, string password, string host, TimeSpan expiration)
Summary: Saves a username and password.
Parameters
| Name | Type | Description |
|---|---|---|
blobCache | [ISecureBlobCache](# | The blob cache to insert the item into. |
user | string | The username to store. |
password | string | The password to store. |
host | string | The host to store against. |
expiration | TimeSpan | A timespan that will be added to the current DateTime. |
Returns: IObservable