{"id":22419669,"url":"https://github.com/sentclose/sentc-flutter-secure-storage","last_synced_at":"2025-03-27T04:41:18.349Z","repository":{"id":192610565,"uuid":"655333200","full_name":"sentclose/sentc-flutter-secure-storage","owner":"sentclose","description":"An alternative sentc storage implementation with flutter secure storage","archived":false,"fork":false,"pushed_at":"2023-06-18T20:22:06.000Z","size":299,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-01T09:44:58.512Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sentclose.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-06-18T15:27:20.000Z","updated_at":"2023-12-14T16:26:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"3ecdee21-ef04-48e6-b22e-0c2cc081afab","html_url":"https://github.com/sentclose/sentc-flutter-secure-storage","commit_stats":null,"previous_names":["sentclose/sentc-flutter-secure-storage"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentclose%2Fsentc-flutter-secure-storage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentclose%2Fsentc-flutter-secure-storage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentclose%2Fsentc-flutter-secure-storage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentclose%2Fsentc-flutter-secure-storage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sentclose","download_url":"https://codeload.github.com/sentclose/sentc-flutter-secure-storage/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245785715,"owners_count":20671631,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-05T16:16:27.497Z","updated_at":"2025-03-27T04:41:18.331Z","avatar_url":"https://github.com/sentclose.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sentc_flutter_secure_storage\n\nThis plugin uses the flutter secure storage to securely store the keys on the native device.\n\nTo change the storage, just set the storage option in the init function.\n\n```dart\nimport 'package:sentc/sentc.dart';\nimport 'package:sentc_flutter_secure_storage/sentc_flutter_secure_storage.dart';\n\nvoid main() async {\n  \n  await Sentc.init(\n    appToken: \"5zMb6zs3dEM62n+FxjBilFPp+j9e7YUFA+7pi6Hi\",\n    storage: SecureStorage(), //init with the other storage\n  );\n}\n```\n\nTo install and configure the storage please follow the [flutter_secure_storage instructions](https://github.com/mogol/flutter_secure_storage).\n\nYou can also pre configure the storage and set it then to sentc. This is useful if you need to set other options for the storage.\n\n```dart\nimport 'package:sentc/sentc.dart';\nimport 'package:sentc_flutter_secure_storage/sentc_flutter_secure_storage.dart';\n\nvoid main() async {\n\n  //set other android option to use android encryptedSharedPreferences (only for Android \u003e= V5)\n  AndroidOptions getAndroidOptions() =\u003e const AndroidOptions(\n    encryptedSharedPreferences: true,\n  );\n\n  final storage = FlutterSecureStorage(aOptions: getAndroidOptions());\n  \n  await Sentc.init(\n    appToken: \"5zMb6zs3dEM62n+FxjBilFPp+j9e7YUFA+7pi6Hi\",\n    storage: SecureStorage(storage), //set the storage with options\n  );\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsentclose%2Fsentc-flutter-secure-storage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsentclose%2Fsentc-flutter-secure-storage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsentclose%2Fsentc-flutter-secure-storage/lists"}