)>
Defined in Type: LoginMixin
Namespace: Akavache
Assembly: Akavache.Core.dll
Applies to
net9.0, net9.0-maccatalyst18.0, net9.0-macos15.0, net9.0-tvos18.0, net9.0-android35.0, net9.0-ios18.0, net8.0, net8.0-android34.0, net8.0-macos14.5, net8.0-ios18.0, net8.0-maccatalyst18.0, net8.0-macos15.0, net8.0-tvos18.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-tvos17.2, netstandard2.1, netstandard2.0
public static IObservable<Unit> SaveLogin(this ISecureBlobCache blobCache, string user, string password, string host = "default", DateTimeOffset? absoluteExpiration = null)
Summary: 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.
Parameters
| Name | Type | Description |
|---|---|---|
blobCache | [ISecureBlobCache](# | The blob cache where to store the data. |
user | string | The user name to save. |
password | string | The associated password. |
host = "default" | string | The host to associate with the data. |
absoluteExpiration = null | DateTimeOffset? | An optional expiration date. |
Returns: IObservable