{"id":15051435,"url":"https://github.com/nextcloud-libraries/nextcloud-auth","last_synced_at":"2026-04-14T18:01:03.522Z","repository":{"id":35142722,"uuid":"192712156","full_name":"nextcloud-libraries/nextcloud-auth","owner":"nextcloud-libraries","description":"Nextcloud helpers related to authentication and the current user https://npmjs.org/@nextcloud/auth","archived":false,"fork":false,"pushed_at":"2026-04-14T11:18:35.000Z","size":3997,"stargazers_count":8,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-14T13:18:15.616Z","etag":null,"topics":["authentication","javascript-library","nextcloud","nextcloud-plugin"],"latest_commit_sha":null,"homepage":"https://nextcloud-libraries.github.io/nextcloud-auth/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nextcloud-libraries.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-06-19T10:37:37.000Z","updated_at":"2026-04-13T16:02:06.000Z","dependencies_parsed_at":"2023-07-28T16:25:18.915Z","dependency_job_id":"fb7070ef-6e51-4fda-8466-e846978852a9","html_url":"https://github.com/nextcloud-libraries/nextcloud-auth","commit_stats":{"total_commits":465,"total_committers":14,"mean_commits":"33.214285714285715","dds":0.546236559139785,"last_synced_commit":"e2d7e39a2c13781a6f2a04b38bbcb4a82fac99e8"},"previous_names":["nextcloud-libraries/nextcloud-auth","nextcloud/nextcloud-auth"],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/nextcloud-libraries/nextcloud-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextcloud-libraries%2Fnextcloud-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextcloud-libraries%2Fnextcloud-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextcloud-libraries%2Fnextcloud-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextcloud-libraries%2Fnextcloud-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nextcloud-libraries","download_url":"https://codeload.github.com/nextcloud-libraries/nextcloud-auth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextcloud-libraries%2Fnextcloud-auth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31808518,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T11:13:53.975Z","status":"ssl_error","status_checked_at":"2026-04-14T11:13:53.299Z","response_time":153,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["authentication","javascript-library","nextcloud","nextcloud-plugin"],"created_at":"2024-09-24T21:35:15.205Z","updated_at":"2026-04-14T18:01:03.498Z","avatar_url":"https://github.com/nextcloud-libraries.png","language":"TypeScript","readme":"\u003c!--\n  - SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors\n  - SPDX-License-Identifier: GPL-3.0-or-later\n--\u003e\n# @nextcloud/auth\n\n[![REUSE status](https://api.reuse.software/badge/github.com/nextcloud-libraries/nextcloud-auth)](https://api.reuse.software/info/github.com/nextcloud-libraries/nextcloud-auth)\n[![npm](https://img.shields.io/npm/v/@nextcloud/auth.svg)](https://www.npmjs.com/package/@nextcloud/auth)\n[![Documentation](https://img.shields.io/badge/Documentation-online-brightgreen)](https://nextcloud-libraries.github.io/nextcloud-auth/index.html)\n\nNextcloud helpers related to authentication and the current user\n\n## Install\n\n```sh\nnpm install @nextcloud/auth --save\n```\n\n```sh\nyarn add @nextcloud/auth\n```\n\n## Usage\nFor detailed information check [the package documentation](https://nextcloud-libraries.github.io/nextcloud-auth/index.html).\n\nOne example usage to get the current user:\n```ts\nimport { getCurrentUser } from '@nextcloud/auth'\n\nconst user = getCurrentUser()\n\nif (user.isAdmin) {\n  // do something\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextcloud-libraries%2Fnextcloud-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnextcloud-libraries%2Fnextcloud-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextcloud-libraries%2Fnextcloud-auth/lists"}