All Projects β†’ xeieshan β†’ SwiftUserManager

xeieshan / SwiftUserManager

Licence: MIT license
A usermanager written in swift saves you from hassle of saving your active user session.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to SwiftUserManager

Kimai2
Kimai v2 is a web-based multiuser time-tracking application. Free for everyone: freelancers, agencies, companies, organizations - all can track their times, generate invoices and more. SaaS version available at https://www.kimai.cloud
Stars: ✭ 1,216 (+5427.27%)
Mutual labels:  user-management
Userfrosting
🍩 Modern PHP user login and management framework++.
Stars: ✭ 1,547 (+6931.82%)
Mutual labels:  user-management
Appy
πŸš€ A full stack boilerplate web app
Stars: ✭ 225 (+922.73%)
Mutual labels:  user-management
Appy Backend
A user system to bootstrap your app.
Stars: ✭ 96 (+336.36%)
Mutual labels:  user-management
User Bundle
A new Symfony user bundle
Stars: ✭ 116 (+427.27%)
Mutual labels:  user-management
Nest User Auth
A starter build for a back end which implements managing users with MongoDB, Mongoose, NestJS, Passport-JWT, and GraphQL.
Stars: ✭ 145 (+559.09%)
Mutual labels:  user-management
Laravel Impersonate
Laravel Impersonate is a plugin that allows you to authenticate as your users.
Stars: ✭ 1,201 (+5359.09%)
Mutual labels:  user-management
Authing
πŸ”₯Authing - IDaaS/IAM solution that can Auth to web and mobile applications.
Stars: ✭ 247 (+1022.73%)
Mutual labels:  user-management
Admidio
Admidio is a free open source user management system for websites of organizations and groups. The system has a flexible role model so that it’s possible to reflect the structure and permissions of your organization.
Stars: ✭ 116 (+427.27%)
Mutual labels:  user-management
Lam
LDAP Account Manager
Stars: ✭ 223 (+913.64%)
Mutual labels:  user-management
Zitadel
ZITADEL - Cloud Native Identity and Access Management
Stars: ✭ 105 (+377.27%)
Mutual labels:  user-management
Github Authorized Keys
Use GitHub teams to manage system user accounts and authorized_keys
Stars: ✭ 106 (+381.82%)
Mutual labels:  user-management
Aspnetcore.identity.mongo
This is a MongoDB provider for the ASP.NET Core 2 Identity framework
Stars: ✭ 179 (+713.64%)
Mutual labels:  user-management
Project
⭐️ Antares Project Application Skeleton. This is the very first place you should start. It allows you to create a brand new awesome project in easy few steps.
Stars: ✭ 84 (+281.82%)
Mutual labels:  user-management
Flask Base
A simple Flask boilerplate app with SQLAlchemy, Redis, User Authentication, and more.
Stars: ✭ 2,680 (+12081.82%)
Mutual labels:  user-management
Pow
Robust, modular, and extendable user authentication system
Stars: ✭ 1,213 (+5413.64%)
Mutual labels:  user-management
Symfony Demo App
A Symfony demo application with basic user management
Stars: ✭ 122 (+454.55%)
Mutual labels:  user-management
Scipio Erp
Your Online Business Kit - Build your own business applications. Create your own online shop. Customize to your own needs.
Stars: ✭ 247 (+1022.73%)
Mutual labels:  user-management
Laravel Auth
Laravel 8 with user authentication, registration with email confirmation, social media authentication, password recovery, and captcha protection. Uses offical [Bootstrap 4](http://getbootstrap.com). This also makes full use of Controllers for the routes, templates for the views, and makes use of middleware for routing. The project can be stood u…
Stars: ✭ 2,692 (+12136.36%)
Mutual labels:  user-management
Msgphp
Reusable domain layers. Shipped with industry standard infrastructure.
Stars: ✭ 182 (+727.27%)
Mutual labels:  user-management

SwiftUserManager

A usermanager written in swift 3.0 saves you from hassle of saving your active user session.

Call api and give the json to MOProfile to make a model and call

UserManager.setCurrentUser(model)

let profileFromServer = [ "firstName" : "Zeeshan", "userName" : "xeieshan", "lastName" : "Haider", "id" : 1, "email" : "[email protected]" ] as [String : Any]

let profileModel : MOProfile = MOProfile(profileFromServer as Dictionary<String, AnyObject>) UserManager.setCurrentUser(newCurrentUser: profileModel)

You can access properties of your loggedin user like

debugPrint((UserManager.currentUser?.firstName)! as String)

To logout simply call

UserManager.logOutUserAndClearToken()

If you want to see if your user is logged (for autologin)

if UserManager.currentUser != nil { // Take to App } else { // Take to Login // After Login save user }

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].