{"id":4270599,"name":"github.com/coder/oauth1","ecosystem":"go","description":"Package oauth1 is a Go implementation of the OAuth1 spec RFC 5849.\n\nIt allows end-users to authorize a client (consumer) to access protected\nresources on their behalf (e.g. login) and allows clients to make signed and\nauthorized requests on behalf of a user (e.g. API calls).\n\nIt takes design cues from golang.org/x/oauth2, providing an http.Client which\nhandles request signing and authorization.\n\nPackage oauth1 implements the OAuth1 authorization flow and provides an\nhttp.Client which can sign and authorize OAuth1 requests.\n\nTo implement \"Login with X\", use the https://github.com/dghubble/gologin\npackages which provide login handlers for OAuth1 and OAuth2 providers.\n\nTo call the Twitter, Digits, or Tumblr OAuth1 APIs, use the higher level Go API\nclients.\n\n* https://github.com/dghubble/go-twitter\n* https://github.com/dghubble/go-digits\n* https://github.com/benfb/go-tumblr\n\nPerform the OAuth 1 authorization flow to ask a user to grant an application\naccess to his/her resources via an access token.\n\n1. When a user performs an action (e.g. \"Login with X\" button calls \"/login\"\nroute) get an OAuth1 request token (temporary credentials).\n\n2. Obtain authorization from the user by redirecting them to the OAuth1\nprovider's authorization URL to grant the application access.\n\nReceive the callback from the OAuth1 provider in a handler.\n\n3. Acquire the access token (token credentials) which can later be used\nto make requests on behalf of the user.\n\nCheck the examples to see this authorization flow in action from the command\nline, with Twitter PIN-based login and Tumblr login.\n\nUse an access Token to make authorized requests on behalf of a user.\n\nCheck the examples to see Twitter and Tumblr requests in action.","homepage":"https://github.com/coder/oauth1","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/coder/oauth1","keywords_array":[],"namespace":"github.com/coder","versions_count":8,"first_release_published_at":"2015-04-27T05:41:57.000Z","latest_release_published_at":"2022-01-12T16:41:38.000Z","latest_release_number":"v0.7.1","last_synced_at":"2026-03-26T21:05:13.028Z","created_at":"2022-04-13T02:05:47.983Z","updated_at":"2026-03-26T21:05:13.028Z","registry_url":"https://pkg.go.dev/github.com/coder/oauth1","install_command":"go get github.com/coder/oauth1","documentation_url":"https://pkg.go.dev/github.com/coder/oauth1#section-documentation","metadata":{},"repo_metadata":{"uuid":"477934013","full_name":"coder/oauth1","owner":"coder","description":"Go OAuth1","archived":false,"fork":true,"pushed_at":"2022-04-05T01:38:51.000Z","size":117,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-12T22:23:12.703Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"dghubble/oauth1","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"logo_url":null,"metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","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":"2022-04-05T01:29:15.000Z","updated_at":"2023-03-12T22:23:12.704Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/coder/oauth1","commit_stats":null,"repository_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder%2Foauth1","tags_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder%2Foauth1/tags","manifests_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder%2Foauth1/manifests","owner_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coder","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":108921946,"host_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names"}},"repo_metadata_updated_at":"2023-03-21T20:00:12.417Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":9.297010515822919,"dependent_packages_count":8.17154093257566,"stargazers_count":25.405751622842544,"forks_count":19.083469685989943,"docker_downloads_count":0.679304016692407,"average":12.527415354784695},"purl":"pkg:golang/github.com/coder/oauth1","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/coder/oauth1","docker_dependents_count":1,"docker_downloads_count":14005,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/coder/oauth1","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/coder/oauth1/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2023-05-19T05:29:15.839Z","issues_count":0,"pull_requests_count":0,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":null,"issues_closed_count":0,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fcoder%2Foauth1/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fcoder%2Foauth1/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fcoder%2Foauth1/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fcoder%2Foauth1/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fcoder%2Foauth1/codemeta","maintainers":[]}