{"id":24452610,"url":"https://github.com/hyperonecom/h1-credentials-helper-go","last_synced_at":"2025-03-14T06:25:31.095Z","repository":{"id":57565096,"uuid":"319313838","full_name":"hyperonecom/h1-credentials-helper-go","owner":"hyperonecom","description":null,"archived":false,"fork":false,"pushed_at":"2022-04-13T10:37:30.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-06T10:45:40.972Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/hyperonecom.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":"2020-12-07T12:32:27.000Z","updated_at":"2022-04-13T10:37:33.000Z","dependencies_parsed_at":"2022-08-23T12:10:52.386Z","dependency_job_id":null,"html_url":"https://github.com/hyperonecom/h1-credentials-helper-go","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/hyperonecom%2Fh1-credentials-helper-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperonecom%2Fh1-credentials-helper-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperonecom%2Fh1-credentials-helper-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperonecom%2Fh1-credentials-helper-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperonecom","download_url":"https://codeload.github.com/hyperonecom/h1-credentials-helper-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243534093,"owners_count":20306460,"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":"2025-01-21T01:16:09.967Z","updated_at":"2025-03-14T06:25:31.069Z","avatar_url":"https://github.com/hyperonecom.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# H1-credentials-helper-go\n\n## Providers\n\n### Passport provider\n\nPassport provider is based on passport file which can be generated using [h1-cli](https://github.com/hyperonecom/h1-cli).\n\n#### Usage\n\n```go\npackage main\n\n\nimport (\n    \"log\"\n\n    \"github.com/hyperonecom/h1-credentials-helper-go\"\n)\n\nfunc main() {\n    provider, err := h1.GetPassportCredentialsHelper(\"\") // empty string means that the library should look for passport file in ~/.h1/passport.json\n    // if you have this file in different location you can pass it to this function\n\n    if err != nil {\n        log.Panic(err)\n    }\n\n    token, err := provider.GetToken(\"exampleAudience\")\n\n    // [...]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperonecom%2Fh1-credentials-helper-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperonecom%2Fh1-credentials-helper-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperonecom%2Fh1-credentials-helper-go/lists"}