LoginMixin.GetLoginAsync(ISecureBlobCache, string) method¶
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<LoginInfo> GetLoginAsync(this ISecureBlobCache blobCache, string host = "default")
Summary: Returns the currently cached user/password. If the cache does not contain a user/password, this returns an Observable which OnError's with KeyNotFoundException.
Parameters
| Name | Type | Description |
|---|---|---|
blobCache | [ISecureBlobCache](# | The blob cache where to get the data. |
host = "default" | string | The host associated with the data. |
Returns: IObservable