{"id":17483517,"url":"https://github.com/xandkar/erlang-google-authenticator-uri","last_synced_at":"2025-03-28T14:14:10.181Z","repository":{"id":34353442,"uuid":"38275302","full_name":"xandkar/erlang-google-authenticator-uri","owner":"xandkar","description":"Google Authenticator URI constructor","archived":false,"fork":false,"pushed_at":"2015-06-29T23:10:32.000Z","size":120,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-19T03:06:29.891Z","etag":null,"topics":["erlang","google-authenticator"],"latest_commit_sha":null,"homepage":null,"language":"Erlang","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/xandkar.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":"2015-06-29T22:50:20.000Z","updated_at":"2017-02-13T18:46:07.000Z","dependencies_parsed_at":"2022-09-14T04:11:15.808Z","dependency_job_id":null,"html_url":"https://github.com/xandkar/erlang-google-authenticator-uri","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xandkar%2Ferlang-google-authenticator-uri","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xandkar%2Ferlang-google-authenticator-uri/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xandkar%2Ferlang-google-authenticator-uri/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xandkar%2Ferlang-google-authenticator-uri/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xandkar","download_url":"https://codeload.github.com/xandkar/erlang-google-authenticator-uri/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246042013,"owners_count":20714147,"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":["erlang","google-authenticator"],"created_at":"2024-10-19T00:05:43.925Z","updated_at":"2025-03-28T14:14:10.149Z","avatar_url":"https://github.com/xandkar.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/ibnfirnas/erlang-google-authenticator-uri.svg?branch=master)](https://travis-ci.org/ibnfirnas/erlang-google-authenticator-uri)\n\nGoogle Authenticator URI constructor\n====================================\n\nExample:\n\n```erlang\n1\u003e rr(google_authenticator_uri).\n[google_authenticator_uri_params]\n2\u003e\n2\u003e ParamsTOTP = #google_authenticator_uri_params\n2\u003e     { type         = totp\n2\u003e     , account_name = \u003c\u003c\"dude@lebowski.io\"\u003e\u003e\n2\u003e     , secret       = \u003c\u003c\"allDudesGoBowling\"\u003e\u003e\n2\u003e     , issuer       = {some, \u003c\u003c\"TheBigLebowski\"\u003e\u003e}\n2\u003e     },\n2\u003e UriTOTP = google_authenticator_uri:cons(ParamsTOTP),\n2\u003e io:format(\"~p~n\", [UriTOTP]).\n\u003c\u003c\"otpauth://totp/TheBigLebowski:dude@lebowski.io?secret=MFWGYRDVMRSXGR3PIJXXO3DJNZTQ%3D%3D%3D%3D\u0026issuer=TheBigLebowski\u0026algorithm=SHA1\u0026digits=6\u0026period=30\"\u003e\u003e\nok\n3\u003e\n3\u003e ParamsHOTP = #google_authenticator_uri_params\n3\u003e     { type         = {hotp, {counter, 0}}\n3\u003e     , account_name = \u003c\u003c\"dude@lebowski.io\"\u003e\u003e\n3\u003e     , secret       = \u003c\u003c\"allDudesGoBowling\"\u003e\u003e\n3\u003e     , issuer       = {some, \u003c\u003c\"TheBigLebowski\"\u003e\u003e}\n3\u003e     },\n3\u003e UriHOTP = google_authenticator_uri:cons(ParamsHOTP),\n3\u003e io:format(\"~p~n\", [UriHOTP]).\n\u003c\u003c\"otpauth://hotp/TheBigLebowski:dude@lebowski.io?secret=MFWGYRDVMRSXGR3PIJXXO3DJNZTQ%3D%3D%3D%3D\u0026issuer=TheBigLebowski\u0026algorithm=SHA1\u0026digits=6\u0026counter=0\"\u003e\u003e\nok\n4\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxandkar%2Ferlang-google-authenticator-uri","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxandkar%2Ferlang-google-authenticator-uri","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxandkar%2Ferlang-google-authenticator-uri/lists"}