You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 1, 2024. It is now read-only.
Xamarin.Auth helps you authenticate users via standard authentication mechanisms (e.g. OAuth 1.0 and 2.0), and store user credentials. It's also straightforward to add support for non-standard authentication schemes. The library is cross-platform, so once you learn it on iOS, you're all set on Android.
1
+
# Xamarin.Auth
2
2
3
-
```csharp
4
-
usingXamarin.Auth;
3
+
Xamarin.Auth makes authenticating with OAuth easy! Xamarin.Auth helps developers authenticate
4
+
users via standard authentication mechanisms (e.g. OAuth 1.0 and 2.0), and store user
5
+
credentials. It's also straightforward to add support for non-standard authentication schemes.
5
6
7
+
OAuth flow (process) is setup in 5 major steps:
8
+
9
+
1. Server side setup for OAuth service provider (Google, Facebook)
10
+
2. Client side initialization of Authenticator object
11
+
3. Creating and optionally customizing UI
12
+
4. Presenting/Lunching UI and authenticating user
13
+
5. Using identity
14
+
15
+
16
+
```csharp
6
17
varauth=newOAuth2Authenticator (
7
18
clientId: "App ID from https://developers.facebook.com/apps",
0 commit comments