{"id":45818232,"url":"https://github.com/dora4/dorachat-authsdk","last_synced_at":"2026-04-05T09:01:49.157Z","repository":{"id":340821621,"uuid":"1167737038","full_name":"dora4/dorachat-authsdk","owner":"dora4","description":"DoraChat Auth SDK","archived":false,"fork":false,"pushed_at":"2026-03-07T23:05:49.000Z","size":77,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-08T04:37:31.463Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dora4.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-26T16:18:29.000Z","updated_at":"2026-03-07T23:05:52.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dora4/dorachat-authsdk","commit_stats":null,"previous_names":["dora4/dorachat-authsdk"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dora4/dorachat-authsdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dora4%2Fdorachat-authsdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dora4%2Fdorachat-authsdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dora4%2Fdorachat-authsdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dora4%2Fdorachat-authsdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dora4","download_url":"https://codeload.github.com/dora4/dorachat-authsdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dora4%2Fdorachat-authsdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31430011,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T08:13:15.228Z","status":"ssl_error","status_checked_at":"2026-04-05T08:13:11.839Z","response_time":75,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-02-26T19:16:18.745Z","updated_at":"2026-04-05T09:01:49.149Z","avatar_url":"https://github.com/dora4.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"dorachat-authsdk ![Release](https://jitpack.io/v/dora4/dorachat-authsdk.svg)\n--------------------------------\n\n#### Gradle Dependency Configuration\n\n```groovy\n// Add the following code to the build.gradle file in the project root directory\nallprojects {\n    repositories {\n        maven { url \"https://jitpack.io\" }\n    }\n}\n```\n```kt\n// Add data binding support\nandroid {\n    buildFeatures {\n        dataBinding = true\n    }\n}\n// Add the following code to the build.gradle file in the app module\ndependencies {\n    implementation(\"com.github.dora4:dorachat-authsdk:1.0.3\")\n    implementation(\"com.github.dora4:dora:1.3.61\")\n    implementation(\"com.github.dora4:dora-arouter-support:1.11\")\n    kapt(\"com.alibaba:arouter-compiler:1.5.2\")\n    implementation(\"com.github.dora4:dcache-android:3.6.3\")\n    implementation(\"com.github.dora4:dview-loading-dialog:1.5\")\n    implementation(\"com.github.dora4:dora-walletconnect-support:2.1.35\") {\n        exclude(group = \"com.madgag.spongycastle\", module = \"core\")\n    }\n}\n```\n#### Automatic Injection of Lifecycle Callback Functions\n```xml\n\u003capplication\u003e\n    \u003cmeta-data\n        android:name=\"dora.lifecycle.config.ARouterGlobalConfig\"\n        android:value=\"GlobalConfig\" /\u003e\n\u003c/application\u003e\n```\n#### Initialize a series of components in the Application\n```kt\n    private fun initHttp() {\n        RetrofitManager.initConfig {\n            okhttp {\n                // ...\n                flow(true) // Important\n                addInterceptor(AuthInterceptor())\n                build()\n            }\n            // ...\n            mappingBaseUrl(AuthService::class.java, AppConfig.AUTH_SDK_SERVER_URL)\n        }\n    }\n```\n```kt\n    private fun initAuth() {\n        val config = DoraChatConfig.Builder(\n            apiBaseUrl = AppConfig.AUTH_SDK_SERVER_URL,\n            partitionId = \"petwords\",\n            appName = \"Pet Words\",\n            themeColor = ContextCompat.getColor(this, R.color.primary)\n        )\n            .enableLog(true)\n            .autoRefreshToken(true)\n            .build()\n        DoraChatSDK.init(this, config)\n    }\n```\n```kt\n     private fun initPay() {\n        DoraFund.init(this, APP_NAME,\n            getString(R.string.app_desc), URL_DOMAIN,\n            arrayOf(EVMChains.ETHEREUM, EVMChains.POLYGON, EVMChains.AVALANCHE, EVMChains.BSC), themeColor,\n            object : DoraFund.PayListener {\n                override fun onPayFailure(orderId: String, msg: String) {\n                }\n\n                override fun onSendTransactionToBlockchain(\n                    orderId: String,\n                    transactionHash: String\n                ) {\n                }\n            })\n    }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdora4%2Fdorachat-authsdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdora4%2Fdorachat-authsdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdora4%2Fdorachat-authsdk/lists"}