{"id":19149974,"url":"https://github.com/smashingboxes/stagehand","last_synced_at":"2025-05-07T04:46:04.865Z","repository":{"id":59156313,"uuid":"2636303","full_name":"smashingboxes/stagehand","owner":"smashingboxes","description":"client library for Personas (user management) service","archived":false,"fork":false,"pushed_at":"2012-03-06T20:58:12.000Z","size":204,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":38,"default_branch":"master","last_synced_at":"2025-05-07T04:45:59.721Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smashingboxes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-10-24T13:29:44.000Z","updated_at":"2013-10-09T06:46:09.000Z","dependencies_parsed_at":"2022-09-13T20:10:24.500Z","dependency_job_id":null,"html_url":"https://github.com/smashingboxes/stagehand","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smashingboxes%2Fstagehand","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smashingboxes%2Fstagehand/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smashingboxes%2Fstagehand/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smashingboxes%2Fstagehand/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smashingboxes","download_url":"https://codeload.github.com/smashingboxes/stagehand/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252816520,"owners_count":21808702,"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-09T08:10:14.663Z","updated_at":"2025-05-07T04:46:04.843Z","avatar_url":"https://github.com/smashingboxes.png","language":"Ruby","readme":"Stagehand\n=========\n\nStagehand is a client-side library for manipulating RESTful resources provided by Personas, a Rails + Backbone user managment service.\n\nUsage\n=====\n\n    YourApp::Application.configure do           \n      config.stagehand.client_id = 'YOUR_APP_CLIENT_ID'\n      config.stagehand.client_secret = 'YOUR_APP_CLIENT_SECRET'\n      config.stagehand.resource_host = 'YOUR_APP_RESOURCE_HOST'\n      config.stagehand.client_host = 'YOUR_APP_HOST_WITH_PORT'\n    end                          \n    \n    class SessionsController \u003c ApplicationController\n      # stagehand.authorize_url is an OAuth 2.0 url created by the \n      # configuration variables above. After the user is authenticated\n      # and grants the client app access, the resource host performs\n      # a callback setting the session[:access_token] and redirects\n      # to the client app's root_url.\n      def new  \n        redirect_to Stagehand.authorize_url\n      end  \n      \n      # Destroy the access_token (but leave the OAuth host cookie intact)  \n      def destroy\n        session[:access_token] = nil\n        redirect_to root_url, :notice =\u003e \"Logged out!\"\n      end\n    end\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmashingboxes%2Fstagehand","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmashingboxes%2Fstagehand","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmashingboxes%2Fstagehand/lists"}