{"id":18765241,"url":"https://github.com/technetos/hedgehog","last_synced_at":"2026-04-29T01:06:13.892Z","repository":{"id":74868707,"uuid":"181358145","full_name":"technetos/hedgehog","owner":"technetos","description":"an oauth2 provider for tide apps","archived":false,"fork":false,"pushed_at":"2019-04-15T17:05:29.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-29T05:44:02.119Z","etag":null,"topics":["postgres","rust","tide-web-framework"],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/technetos.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}},"created_at":"2019-04-14T19:23:51.000Z","updated_at":"2019-04-15T17:05:30.000Z","dependencies_parsed_at":"2023-03-15T10:32:39.774Z","dependency_job_id":null,"html_url":"https://github.com/technetos/hedgehog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technetos%2Fhedgehog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technetos%2Fhedgehog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technetos%2Fhedgehog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technetos%2Fhedgehog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/technetos","download_url":"https://codeload.github.com/technetos/hedgehog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239663323,"owners_count":19676561,"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":["postgres","rust","tide-web-framework"],"created_at":"2024-11-07T18:33:18.922Z","updated_at":"2025-12-07T16:30:13.325Z","avatar_url":"https://github.com/technetos.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hedgehog\nHedgeHog is bearer authentication provider for Tide web applications.  \n\n## Usage\n```\nasync fn protected_echo_path(cx: Context\u003c()\u003e) -\u003e EndpointResult\u003cString\u003e {\n    cx.hedgehog().protect()?;\n\n    let path: String = cx.param(\"path\")?;\n    \n    Ok(format!(\"Your path is: {}\", path))\n}\n\nfn main() {\n    let mut app = tide::App::new(());\n    app.at(\"/echo_path/:path\").get(echo_path);\n    app.serve(\"127.0.0.1:8000\").unwrap();\n}\n\n```\n\n## Hedgehog API\nIn Tide you can implement traits for the Context type to add functionality to\nit.  The hedgehog API is made available through the `.hedgehog()` method on the\nContext type. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnetos%2Fhedgehog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechnetos%2Fhedgehog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnetos%2Fhedgehog/lists"}