{"id":15038622,"url":"https://github.com/rubygarage/authorize-me","last_synced_at":"2025-10-04T03:32:00.985Z","repository":{"id":56902558,"uuid":"94348461","full_name":"rubygarage/authorize-me","owner":"rubygarage","description":"Authorization with social networks","archived":true,"fork":false,"pushed_at":"2019-04-16T12:43:34.000Z","size":753,"stargazers_count":45,"open_issues_count":4,"forks_count":15,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-09-15T16:11:55.593Z","etag":null,"topics":["auth","authorization","cocoapod","ios","login","signin","social","social-login","social-network","swift"],"latest_commit_sha":null,"homepage":"https://rubygarage.org","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/rubygarage.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}},"created_at":"2017-06-14T15:53:38.000Z","updated_at":"2024-09-29T09:28:50.000Z","dependencies_parsed_at":"2022-08-20T18:50:28.023Z","dependency_job_id":null,"html_url":"https://github.com/rubygarage/authorize-me","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/rubygarage/authorize-me","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubygarage%2Fauthorize-me","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubygarage%2Fauthorize-me/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubygarage%2Fauthorize-me/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubygarage%2Fauthorize-me/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rubygarage","download_url":"https://codeload.github.com/rubygarage/authorize-me/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubygarage%2Fauthorize-me/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278259829,"owners_count":25957547,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["auth","authorization","cocoapod","ios","login","signin","social","social-login","social-network","swift"],"created_at":"2024-09-24T20:39:18.059Z","updated_at":"2025-10-04T03:32:00.634Z","avatar_url":"https://github.com/rubygarage.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AuthorizeMe\n\n**AuthorizeMe** is a mobile library for iOS that designed to easy implementation of authorization with social networks. This repository holds the source code that contain a set of providers that implement the functionality needed to get credentials and information about user from various social services.\n\n## Features\n\n* **No dependency:** AuthorizeMe is a fully Swift framework without any dependency. Use the library without any additional Xcode project configurations after installation.\n* **Authorization:** There are two ways to authorize user. Use `SystemProvider` for authorize user with iOS social accounts data. Use `WebProvider` for authorize user with `UIWebView` in case when is not possible to use first way.\n* **Custom provider:** Implement own provider if AuthorizeMe does not following social network that needed. It is easy and free.\n\n## Getting Started\n\n### Installation\n\n`CocoaPods` is a dependency manager for Cocoa projects. Install it with the following command:\n\n```bash\n$ gem install cocoapods\n```\n\nTo integrate AuthorizeMe into Xcode project using CocoaPods, specify it in `Podfile`:\n\n```ruby\nplatform :ios, '10.0'\n\ntarget 'Target Name' do\n    use_frameworks!\n\n    pod 'AuthorizeMe'\n    # or \n    # pod 'AuthorizeMe/Facebook'\n    # to integrate Facebook only\n\nend\n```\n\nThen, run the following command:\n\n```bash\n$ pod install\n```\n\n### First Look\n\nFirstly, import `AuthorizeMe` framework into class in Xcode project.\n\n````swift\nimport AuthorizeMe\n````\n\nThen, turn logging on for seen error messages of authorization process if needed. Do it in `AppDelegate` class is the best way.\n\n````swift\nDebugService.isNeedOutput = true\n````\n\nFinally, use `Authorize` manager that authorize user with `SystemProvider` if it possible, but in other case manager authorize user with `WebProvider`.\n\n````swift\nAuthorize.me.on(\"Name of social network\") { session, error in\n    // Do something\n}\n````\n\nTo separate usage of various providers, use `SystemProvider` and `WebProvider` apart.\n\n````swift\nlet provider = FacebookSystemProvider() \n// or \n// let provider = TwitterWebProvider()\n\nprovider.authorize { session, error in\n    // Do something\n}\n````\n\n## Guides\n\n* **[Facebook Provider](https://github.com/rubygarage/authorize-me/wiki/Facebook-Provider)**\n* **[Twitter Provider](https://github.com/rubygarage/authorize-me/wiki/Twitter-Provider)**\n* **[Google Provider](https://github.com/rubygarage/authorize-me/wiki/Google-Provider)**\n* **[Instagram Provider](https://github.com/rubygarage/authorize-me/wiki/Instagram-Provider)**\n* **[LinkedIn Provider](https://github.com/rubygarage/authorize-me/wiki/LinkedIn-Provider)**\n* **[Custom Provider](https://github.com/rubygarage/authorize-me/wiki/Custom-Provider)**\n***\nAuthorizeMe library is licensed under the [MIT](https://opensource.org/licenses/MIT) license. See the [LICENSE](https://github.com/rubygarage/authorize-me/blob/master/LICENSE) file for more info.\n***\n\u003ca href=\"https://rubygarage.org/\"\u003e\u003cimg src=\"https://rubygarage.s3.amazonaws.com/assets/assets/rg_color_logo_horizontal-919afc51a81d2e40cb6a0b43ee832e3fcd49669d06785156d2d16fd0d799f89e.png\" alt=\"RubyGarage Logo\" width=\"415\" height=\"128\"\u003e\u003c/a\u003e\n\nRubyGarage is a leading software development and consulting company in Eastern Europe. Our main expertise includes Ruby and Ruby on Rails, but we successfully employ other technologies to deliver the best results to our clients. [Check out our portfolio](https://rubygarage.org/portfolio) for even more exciting works!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubygarage%2Fauthorize-me","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubygarage%2Fauthorize-me","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubygarage%2Fauthorize-me/lists"}