{"repo":"descope/descope-flutter","free":true,"listed":false,"github":"https://github.com/descope/descope-flutter","clone":"git clone https://github.com/descope/descope-flutter.git","description":"Flutter library used to integrate with Descope","language":"Swift","stars":53,"topics":["app","authentication","descope","flutter","flutter-sdk","mobile","native","sdk","web"],"license":"MIT","category":"mobile-apps","readme_excerpt":"Descope for Flutter The Descope package for flutter provides convenient access to the Descope user management and authentication APIs for applications written for Flutter. You can read more on the Descope Website. Features - Quickstart - Session Management - Custom Claims - Error handling - Running Flows - Authenticate users using the authentication methods that suit your needs: - OTP (one-time password) - TOTP (timed one-time password / authenticator app) - Magic Link - Enchanted Link - OAuth (social) - SSO / SAML - Passkeys - Passwords Quickstart A Descope Project ID is required to initialize the SDK. Find it on the project page in the Descope Console. Authenticate the user in your application by starting one of the authentication methods. For example, let's use OTP via email: Finish the authentication by verifying the OTP code the user entered: On the next application launch check if there's a logged in user to decide which screen to show: Use the active session to authenticate outgoing API requests to the application's backend: Session Management The DescopeSessionManager class is used to manage an authenticated user session for an application. The session manager takes care of loading and saving the session as well as ensuring that it's refreshed when needed. When the user completes a sign in flow successfully you should set the DescopeSession object as the active session of the session manager. The session manager can then be used at any time to ensure the session is va","default_branch":null,"files":null,"tree":[],"storefront":"/r/descope","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/descope/descope-flutter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}