{"id":21748327,"url":"https://github.com/surfstudio/thirdpartyauth","last_synced_at":"2025-07-24T09:35:30.690Z","repository":{"id":154168705,"uuid":"630941099","full_name":"surfstudio/ThirdPartyAuth","owner":"surfstudio","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-23T12:40:27.000Z","size":25172,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-25T22:57:48.937Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/surfstudio.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-21T14:12:25.000Z","updated_at":"2023-11-13T13:29:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"e1970afc-1ce7-412e-a740-a329a670a8c7","html_url":"https://github.com/surfstudio/ThirdPartyAuth","commit_stats":null,"previous_names":["surfstudio/thirdpartyauth"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surfstudio%2FThirdPartyAuth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surfstudio%2FThirdPartyAuth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surfstudio%2FThirdPartyAuth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/surfstudio%2FThirdPartyAuth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/surfstudio","download_url":"https://codeload.github.com/surfstudio/ThirdPartyAuth/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244723721,"owners_count":20499323,"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-11-26T08:13:05.030Z","updated_at":"2025-03-21T02:25:03.980Z","avatar_url":"https://github.com/surfstudio.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ThirdPartyAuth\n\n[![Build Status](https://github.com/surfstudio/ThirdPartyAuth/actions/workflows/main.yml/badge.svg)](https://github.com/surfstudio/ThirdPartyAuth/actions/workflows/main.yml)\n[![SPM Compatible](https://img.shields.io/badge/SPM-compatible-blue.svg)](https://github.com/apple/swift-package-manager)\n[![Version](https://img.shields.io/github/release/surfstudio/ThirdPartyAuth.svg?style=flat)]()\n\n![ThirdPartyAuth Logo Image](TechDocs/thirdPartyAuthLogo.png)\n\n## About\n\nLibrary for quick register or login into your application using third party accounts. It has two main modules - **ThirdPartyAuth** and **ThirdPartyAuthUI**.\n- **ThirdPartyAuth** module include components for auth / register user's in your app with their third party accounts. After getting response from this module you'll need to sent all necessary data to your backend-side and process them there.\n- **ThirdPartyAuthUI** is a set of components that you can integrate into your app, if you don't need custom UI. \n\n![ThirdPartyAuth Preview Image](TechDocs/thirdPartyAuthPreview.png)\n\n## Features\n\n- [x] Sign In with Apple\n- [x] Google Sign-In\n- [x] VK ID\n\n## Prepare your app project\n\nBefore using this library you'll need to check, is your project matches all needed auth types requirements.\n\nDetailed info you can find [here](TechDocs/PrepareProject.md).\n\n## Installation\n\n### Swift Package Manager\n\n- Open your Xcode project and select `File \u003e Add Packages...`\n- Enter repository URL `https://github.com/AdmiralBizon/ThirdPartyAuth`\n- Select branch `main`\n\n## Usage\n\n### ThirdPartyAuth\n\nThis module has a single public interface - `ThirdPartyAuthService`, included all main operations.\n\nSign In:\n\n```swift\nThirdPartyAuthService.sharedInstance.signIn(with: type)\n```\n\nSign Out:\n\n```swift\nThirdPartyAuthService.sharedInstance.signOut(with: type) { isSignedOut in\n    // do something useful\n}\n```\n\nHere `type` parameter is one of `ThirdPartyAuthService` current configuration supported types. For example, `.google`. \n\nDetailed usage info of this module you can find [here](TechDocs/Modules/ThirdPartyAuth.md).\n\n### ThirdPartyAuthUI\n\nIt's a set of components that you can integrate into your app, if you don't need custom UI. \n\nLibrary has two main UI-components:\n\n- Title view of third party auth section\n- Button container - main component of ThirdPartyAuthUI, included block with auth buttons of all needed auth types\n\nDetailed usage info of this module you can find [here](TechDocs/Modules/ThirdPartyAuthUI.md).\n\n\u003cdetails\u003e\n    \u003csummary\u003ePreview\u003c/summary\u003e\n    \u003cp align=\"center\"\u003e\n         \u003cimg src=\"TechDocs/Modules/lightModeAppearance.png\" width=\"250\" height=\"540\"\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003cimg src=\"TechDocs/Modules/darkModeAppearance.png\" width=\"250\" height=\"540\"\u003e\n    \u003c/p\u003e\n\u003c/details\u003e\n\n## Changelog\n\nThe full list of changes can be found in [this file](./CHANGELOG.md).\n\n## License\n\n[MIT License](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsurfstudio%2Fthirdpartyauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsurfstudio%2Fthirdpartyauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsurfstudio%2Fthirdpartyauth/lists"}