Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
Fix links to migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
Redth authored Dec 3, 2018
1 parent 8e4483c commit 5aa0bd5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ request.GetResponseAsync().ContinueWith

### 4.2 Store the account

**NOTE: `AccountStore` is now deprecated. We recommend using [Xamarin.Essentials SecureStorage](https://docs.microsoft.com/en-us/xamarin/essentials/secure-storage) as a replacement. We have written a [migration guide](https://github.com/xamarin/Xamarin.Auth/wiki/Migrating-from-AccountStore-to-Xamarin.Essentials-SecureStorage) which includes a helper class for migrating both your data and code to use Xamarin.Essentials SecureStorage.**
**NOTE: `AccountStore` is now deprecated. We recommend using [Xamarin.Essentials SecureStorage](https://docs.microsoft.com/en-us/xamarin/essentials/secure-storage) as a replacement. We have written a [migration guide](https://aka.ms/xamarin-auth-accountstore-migration-guide) which includes a helper class for migrating both your data and code to use Xamarin.Essentials SecureStorage.**

Xamarin.Auth securely stores `Account` objects so that users don't always have to re-authenticate
the user. The `AccountStore` class is responsible for storing `Account` information, backed by
Expand All @@ -687,7 +687,7 @@ Creating `AccountStore` on Android:

```csharp
// On Android:
// DEPRECATED: See the [Xamarin.Essentials SecureStorage Migration Guide](https://github.com/xamarin/Xamarin.Auth/wiki/Migrating-from-AccountStore-to-Xamarin.Essentials-SecureStorage)
// DEPRECATED: See https://aka.ms/xamarin-auth-accountstore-migration-guide
AccountStore.Create (this).Save (eventArgs.Account, "Facebook");
```

Expand All @@ -696,7 +696,7 @@ Creating `AccountStore` on iOS:

```csharp
// On iOS:
// DEPRECATED: See the [Xamarin.Essentials SecureStorage Migration Guide](https://github.com/xamarin/Xamarin.Auth/wiki/Migrating-from-AccountStore-to-Xamarin.Essentials-SecureStorage)
// DEPRECATED: See https://aka.ms/xamarin-auth-accountstore-migration-guide
AccountStore.Create ().Save (eventArgs.Account, "Facebook");
```

Expand All @@ -718,7 +718,7 @@ Retrieving accounts on Android:

```csharp
// On Android:
// DEPRECATED: See the [Xamarin.Essentials SecureStorage Migration Guide](https://github.com/xamarin/Xamarin.Auth/wiki/Migrating-from-AccountStore-to-Xamarin.Essentials-SecureStorage)
// DEPRECATED: See https://aka.ms/xamarin-auth-accountstore-migration-guide
IEnumerable<Account> accounts = AccountStore.Create (this).FindAccountsForService ("Facebook");
```

Expand All @@ -727,7 +727,7 @@ Retrieving accounts on iOS:

```csharp
// On iOS:
// DEPRECATED: See the [Xamarin.Essentials SecureStorage Migration Guide](https://github.com/xamarin/Xamarin.Auth/wiki/Migrating-from-AccountStore-to-Xamarin.Essentials-SecureStorage)
// DEPRECATED: See https://aka.ms/xamarin-auth-accountstore-migration-guide
IEnumerable<Account> accounts = AccountStore.Create ().FindAccountsForService ("Facebook");
```

Expand Down

0 comments on commit 5aa0bd5

Please sign in to comment.