phantomlight / Xamarin.Auth0Client

A multiplatform (iOS, Android) client for Auth0 based on Xamarin.Auth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Xamarin.Auth0Client

A cross-platform API for authenticating users with the Auth0 platform.

## Generate and publish new Xamarin Component

  1. Build Xamarin.Auth0Client.sln solution (with RELEASE mode)
  2. Download the xamarin-component command line tool and run the following script (replacing Auth0Client-X.Y.xam with specific version number):
mono xamarin-component.exe create-manually Auth0Client-X.Y.Z.xam \
  --name="Auth0 SDK" \
  --summary="Add authentication with different sources, either social like Google, Facebook, Twitter, or enterprise like WAAD, Google Apps, AD, ADFS or any SAML Provider." \
  --publisher="Auth0" \
  --website="http://auth0.com" \
  --details="Details.md" \
  --license="LICENSE" \
  --getting-started="GettingStarted.md" \
  --icon="icons/Auth0Client_128x128.png" \
  --icon="icons/Auth0Client_512x512.png" \
  --library="ios":"src/Auth0Client.iOS/bin/classic/Release/Auth0Client.iOS.dll" \
  --library="ios-unified":"src/Auth0Client.iOS/bin/unified/Release/Auth0Client.iOS.dll" \
  --library="android":"src/Auth0Client.Android/bin/Release/Auth0Client.Android.dll" \
  --library="ios":"src/Auth0Client.iOS/bin/classic/Release/Xamarin.Auth.iOS.dll" \
  --library="ios-unified":"src/Auth0Client.iOS/bin/unified/Release/Xamarin.Auth.iOS.dll" \
  --library="android":"src/Auth0Client.Android/bin/Release/Xamarin.Auth.Android.dll" \
  --library="ios":"src/Auth0Client.iOS/bin/classic/Release/Newtonsoft.Json.dll" \
  --library="ios-unified":"src/Auth0Client.iOS/bin/unified/Release/Newtonsoft.Json.dll" \
  --library="android":"src/Auth0Client.Android/bin/Release/Newtonsoft.Json.dll" \
  --sample="iOS Sample (Classic). Demonstrates Auth0 authentication on iOS (Classic).":"./Xamarin.Auth0Client.iOS.Sample-Classic.sln" \
  --sample="iOS Sample (Unified API). Demonstrates Auth0 authentication on iOS (Unified API).":"./Xamarin.Auth0Client.iOS.Sample.sln" \
  --sample="Android Sample. Demonstrates Auth0 authentication on Android.":"./Xamarin.Auth0Client.Android.Sample.sln"

For detailed instructions, see the component packaging guidelines.

  • This will create a component package named Auth0Client-X.Y.Z.xam, which will include libraries and samples for iOS and Android, along with the required supplementary files.
  • You are ready to upload the new Auth0Client-X.Y.Z.xam package to https://components.xamarin.com/admin/new/877

Issue Reporting

If you have found a bug or if you have a feature request, please report them at this repository issues section. Please do not report security vulnerabilities on the public GitHub issue tracker. The Responsible Disclosure Program details the procedure for disclosing security issues.

Author

Auth0

License

This project is licensed under the MIT license. See the LICENSE file for more info.

About

A multiplatform (iOS, Android) client for Auth0 based on Xamarin.Auth

License:MIT License


Languages

Language:C# 100.0%