Skip to content

Applies to

netstandard2.0

public static IObservable<Unit> SaveLogin(this ISecureBlobCache blobCache, string user, string password, string host = "default", DateTimeOffset? absoluteExpiration = null)

View source

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

NameTypeDescription
blobCache[ISecureBlobCache](#The blob cache where to store the data.
userstringThe user name to save.
passwordstringThe associated password.
host = "default"stringThe host to associate with the data.
absoluteExpiration = nullDateTimeOffset?An optional expiration date.

Returns: IObservable -- A observable which signals when the insert is completed.