capacitor-auth-manager 0.0.2 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 Zaions
3
+ Copyright (c) 2024 Ahsan Mahmood
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/Readme.md CHANGED
@@ -534,6 +534,41 @@ const result = await CapacitorAuthManager.signIn({
534
534
  });
535
535
  ```
536
536
 
537
+ ## 📚 Documentation
538
+
539
+ For comprehensive documentation, examples, and guides, visit our [Documentation](./docs/README.md):
540
+
541
+ ### 🚀 Getting Started
542
+ - [Installation Guide](./docs/getting-started/installation.md) - Step-by-step setup instructions
543
+ - [Quick Start](./docs/getting-started/quick-start.md) - Get up and running in minutes
544
+ - [Platform Setup](./docs/getting-started/platform-setup.md) - Platform-specific configuration
545
+
546
+ ### 🔧 API Reference
547
+ - [Core API](./docs/api-reference/core-api.md) - Complete method reference
548
+ - [Authentication State](./docs/api-reference/auth-state.md) - Understanding auth state
549
+ - [Error Handling](./docs/api-reference/error-handling.md) - Handle errors gracefully
550
+
551
+ ### 🏢 Provider Guides
552
+ - [Google Auth](./docs/providers/google.md) - Google Sign-In implementation
553
+ - [Apple Auth](./docs/providers/apple.md) - Sign in with Apple
554
+ - [Facebook Auth](./docs/providers/facebook.md) - Facebook Login
555
+ - [Microsoft Auth](./docs/providers/microsoft.md) - Microsoft identity platform
556
+ - [GitHub Auth](./docs/providers/github.md) - GitHub OAuth
557
+ - [Firebase Auth](./docs/providers/firebase.md) - Firebase Authentication
558
+ - [More providers...](./docs/providers/) - All 13+ supported providers
559
+
560
+ ### 💡 Framework Examples
561
+ - [React Integration](./docs/examples/react.md) - Complete React implementation
562
+ - [Angular Example](./docs/examples/angular.md) - Angular integration
563
+ - [Vue Example](./docs/examples/vue.md) - Vue.js implementation
564
+ - [Ionic Example](./docs/examples/ionic.md) - Ionic Framework integration
565
+
566
+ ### 📖 Advanced Guides
567
+ - [Best Practices](./docs/guides/best-practices.md) - Authentication best practices
568
+ - [Security Guide](./docs/guides/security.md) - Security considerations
569
+ - [Token Management](./docs/guides/token-management.md) - Handling tokens
570
+ - [Multi-Factor Auth](./docs/guides/mfa.md) - Implementing MFA
571
+
537
572
  ## Contributing
538
573
 
539
574
  Contributions are welcome! Please see our [Contributing Guide](CONTRIBUTING.md) for details.
@@ -550,4 +585,4 @@ MIT
550
585
 
551
586
  ## Credits
552
587
 
553
- Created by [Ahsan Mahmood](https://aoneahsan.com) at [Zaions](https://zaions.com)
588
+ Created by [Ahsan Mahmood](https://aoneahsan.com) - Open source for the community
@@ -18,7 +18,7 @@ buildscript {
18
18
  apply plugin: 'com.android.library'
19
19
 
20
20
  android {
21
- namespace "com.zaions.cap_auth_manager"
21
+ namespace "com.aoneahsan.capacitor_auth_manager"
22
22
  compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 35
23
23
  defaultConfig {
24
24
  minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 23
@@ -35,4 +35,4 @@
35
35
  -keep class com.getcapacitor.** { *; }
36
36
 
37
37
  # Plugin classes
38
- -keep class com.zaions.cap_auth_manager.** { *; }
38
+ -keep class com.aoneahsan.capacitor_auth_manager.** { *; }
@@ -1,4 +1,4 @@
1
- package com.zaions.cap_auth_manager;
1
+ package com.aoneahsan.capacitor_auth_manager;
2
2
 
3
3
  import android.util.Log;
4
4
 
@@ -1,4 +1,4 @@
1
- package com.zaions.cap_auth_manager;
1
+ package com.aoneahsan.capacitor_auth_manager;
2
2
 
3
3
  import android.content.Context;
4
4
  import android.content.SharedPreferences;
@@ -1,4 +1,4 @@
1
- package com.zaions.cap_auth_manager;
1
+ package com.aoneahsan.capacitor_auth_manager;
2
2
 
3
3
  import com.getcapacitor.JSObject;
4
4
 
@@ -1,4 +1,4 @@
1
- package com.zaions.cap_auth_manager;
1
+ package com.aoneahsan.capacitor_auth_manager;
2
2
 
3
3
  import android.app.Activity;
4
4
  import android.content.Context;
@@ -1,4 +1,4 @@
1
- package com.zaions.cap_auth_manager;
1
+ package com.aoneahsan.capacitor_auth_manager;
2
2
 
3
3
  import com.getcapacitor.JSObject;
4
4
  import com.getcapacitor.Plugin;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capacitor-auth-manager",
3
- "version": "0.0.2",
3
+ "version": "1.0.0",
4
4
  "description": "Auth Manager Plugin for Capacitor, provides all the auth options that their provider provides, and provides a subscribable auth state. including google, apple, microsoft, facebook, github, slack, linkedin, email magic link, sms, email/phone/username + password, email code, biometric auth",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",