{"id":21131774,"url":"https://github.com/e-identification/bankid-go","last_synced_at":"2025-12-14T22:42:25.438Z","repository":{"id":37933251,"uuid":"208441456","full_name":"e-identification/bankid-go","owner":"e-identification","description":"BankID SDK for go-lang","archived":false,"fork":false,"pushed_at":"2025-11-20T01:37:24.000Z","size":173,"stargazers_count":7,"open_issues_count":4,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-22T19:23:42.229Z","etag":null,"topics":["bankid","go","golang","hacktoberfest","library","module"],"latest_commit_sha":null,"homepage":"","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/e-identification.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,"zenodo":null}},"created_at":"2019-09-14T13:05:00.000Z","updated_at":"2025-11-20T01:37:21.000Z","dependencies_parsed_at":"2024-06-02T11:43:33.708Z","dependency_job_id":"43161cf6-cac3-46a0-a711-907cb41b0888","html_url":"https://github.com/e-identification/bankid-go","commit_stats":null,"previous_names":["e-identification/bankid","e-identification/bankid-go","nicklaswallgren/bankid"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/e-identification/bankid-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-identification%2Fbankid-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-identification%2Fbankid-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-identification%2Fbankid-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-identification%2Fbankid-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/e-identification","download_url":"https://codeload.github.com/e-identification/bankid-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-identification%2Fbankid-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27738272,"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-12-14T02:00:11.348Z","response_time":56,"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":["bankid","go","golang","hacktoberfest","library","module"],"created_at":"2024-11-20T06:00:06.709Z","updated_at":"2025-12-14T22:42:25.388Z","avatar_url":"https://github.com/e-identification.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BankID library\n\n[![Build Status](https://github.com/e-identification/bankid-go/workflows/Test/badge.svg)](https://github.com/e-identification/bankid-go/actions?query=workflow%3ATest)\n[![Reviewdog](https://github.com/e-identification/bankid-go/workflows/reviewdog/badge.svg)](https://github.com/e-identification/bankid-go/actions?query=workflow%3Areviewdog)\n[![Go Report Card](https://goreportcard.com/badge/github.com/e-identification/bankid-go)](https://goreportcard.com/report/github.com/e-identification/bankid-go)\n[![GoDoc](https://godoc.org/github.com/e-identification/bankid-go?status.svg)](https://godoc.org/github.com/e-identification/bankid-go)\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/564889b413574c82a13b2ff82cade53e)](https://app.codacy.com/gh/e-identification/bankid-go/dashboard?utm_source=gh\u0026utm_medium=referral\u0026utm_content=\u0026utm_campaign=Badge_grade)\n\nA library for providing BankID services as an RP (Relying party).  \nSupports the latest v6 features.\n\nTo learn how to use the library, please refer to the [documentation](https://godoc.org/github.com/e-identification/bankid-go). There are some [examples](./examples) that may be useful as well.\n\n# Installation\nThe library can be installed through `go get` \n```bash\ngo get github.com/e-identification/bankid-go\n```\n\n# Supported versions\nWe support the two major Go versions, which are 1.21 and 1.22 at the moment.\n\n# Features\n- Supports all v6.0 features\n\n# SDK\n```go\n// Creates new BankIDClient instance\nNewBankIDClient(configuration *configuration.Configuration) (*BankIDClient)\n\n// Initiates an authentication order \n(b BankIDClient) Authenticate(context context.Context, payload *AuthenticationPayload) (*AuthenticateResponse, error)\n\n// Initiates a phone authentication order \n(b BankIDClient) PhoneAuthenticate(context context.Context, payload *PhoneAuthenticationPayload) (*PhoneAuthenticateResponse, error)\n\n// Initiates a sign order\n(b BankIDClient) Sign(context context.Context, payload *SignPayload) (*SignResponse, error)\n\n// Initiates a phone sign order\n(b BankIDClient) PhoneSign(context context.Context, payload *PhoneSignPayload) (*PhoneSignResponse, error)\n\n// Collects the result of a sign or auth order using the orderRef as reference\n(b BankIDClient) Collect(context context.Context, payload *CollectPayload) (*CollectResponse, error)\n\n// Cancels an ongoing sign or auth order\n(b BankIDClient) Cancel(context context.Context, payload *CancelPayload) (*CancelResponse, error)\n```\n\n## Unit tests\n```bash\ngo test -v -race $(go list ./...)\n```\n\n### Code Guide\n\nWe use GitHub Actions to make sure the codebase is consistent (`golangci-lint run`) and continuously tested (`go test -v -race $(go list ./...)`). We try to keep comments at a maximum of 120 characters of length and code at 120.\n\n## Contributing\n\nIf you find any problems or have suggestions about this library, please submit an issue. Moreover, any pull request, code review and feedback are welcome.\n\n## License\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe-identification%2Fbankid-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fe-identification%2Fbankid-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe-identification%2Fbankid-go/lists"}