npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

passkeyjslibdemo

v1.0.43

Published

해당 라이브러리는 SK텔레콤에서 제공하는 Passkey Server와 간편하게 연동할 수 있도록 설계되었습니다. Passkey Server와의 연동을 위해 다양한 속성과 엔티티를 사용해야 하는 필요성이 있지만, 이 라이브러리를 사용하면 속성 및 엔티티의 복잡한 구현 없이 필요한 값만 설정하면 Passkey Server와의 연동이 가능합니다. (CommonJS에 해당하는 사용자들을 위한 라이브러리)

Readme

Passkey Server 연동 라이브러리

해당 라이브러리는 SK텔레콤에서 제공하는 Passkey Server와 간편하게 연동할 수 있도록 설계되었습니다. Passkey Server와의 연동을 위해 다양한 속성과 엔티티를 사용해야 하는 필요성이 있지만, 이 라이브러리를 사용하면 속성 및 엔티티의 복잡한 구현 없이 필요한 값만 설정하면 Passkey Server와의 연동이 가능합니다. (CommonJS에 해당하는 사용자들을 위한 라이브러리)

주요 특징

  • Passkey Server와의 연동을 위한 다양한 속성과 엔티티 지원
  • 파라메터 객체 구성 없이 속성값 설정만으로 Passkey Server 연동 기능

핵심 기능

  1. RegistrationRequest (Credential 등록 옵션 요청):
    RP 사용자가 Passkey Server에게 credential 등록을 요청하는 기능
  2. RegistrationResponse (Credential 등록 결과 전달):
    Passkey Server로부터 받은 credential 등록 결과를 처리하는 기능
  3. AuthenticationRequest (Credential 획득을 통한 인증 옵션 요청):
    Credential을 사용하여 인증을 요청하는 기능
  4. AuthenticationResponse (Credential 획득을 통한 결과 전달):
    Passkey Server로부터 받은 인증 결과를 처리하는 기능

환경 설정

  • Node >= v14

설정 파일

  • ~.env 라이브러리 사용자가 필수값 이외에 다른 속성값을 입력하지 않았을 경우 default 값을 설정 가능

사용 모듈

  • express

Library 사용법

Rp 아이디 설정

const {passkeyServerCall } = require('passkeyjslibdemo');
passkeyServerCall.setRpid('your rpId')

1. RegistrationRequest (Credential 등록 옵션 요청)

  1. Credential 등록 옵션 요청 하기 위한 함수 호출
const { genarateRegistRequest, RegistMakeReqOptionDto } = require('passkeyjslibdemo');
const registRequest = new RegistMakeReqOptionDto();
  1. registMakeReqOptionsDTO 안에 필수값인 user 정보 Set, 원하는 속성값 Set
registRequest.set();
  1. set 한 값을 패스키 서버와 연동하는 함수 호출
const response = await genarateRegistRequest(registRequest);

2. RegistrationResponse (Credential 등록 결과 전달)

  1. Credential 등록 결과 전달 하기 위한 함수 호출
const { genarateRegistRsponse, RegistMakeResOptionsDto } = require('passkeyjslibdemo');
const regisetResponse = new RegistMakeResOptionsDto();
  1. registMakeResOptionsDTO 안에 필수값인 Credential, transactionId 값 Set, 원하는 속성값 Set
regisetResponse.set();
  1. set 한 값을 패스키 서버와 연동하는 함수 호출
const response = await genarateRegistRsponse(regisetResponse);

3. AuthenticationRequest (Credential 획득을 통한 인증 옵션 요청)

  1. Credential 획득을 통한 인증 옵션 요청 하기 위한 함수 호출
const { genarateAuthRequestEntity, AuthMakeReqOptionsDto } = require('passkeyjslibdemo');
const authtitaionRequest = new AuthMakeReqOptionsDto();
  1. authMakeReqOptionsDTO 안에 원하는 속성값 Set
  • Auto-fill 시(userId 필수 X)
authtitaionRequest.set();
  • 로그인 시(userId 필수 O)
authtitaionRequest.setUserId();
  1. set 한 값을 패스키 서버와 연동하는 함수 호출
const response = await genarateAuthRequest(authtitaionRequest);

4. AuthenticationResponse (Credential 획득을 통한 결과 전달)

  1. Credential 획득을 통한 인증 옵션 요청 하기 위한 함수 호출
const { genarateAuthResponse, AuthMakeResOptionsDto } = require('passkeyjslibdemo');
const authResponse = new AuthMakeResOptionsDto();
  1. authMakeResOptionsDTO 필수값인 Credential, transactionId 값 Set, 원하는 속성값 Set
authResponse.set();
  1. set 한 값을 패스키 서버와 연동하는 함수 호출
const response = await genarateAuthResponse(authResponse);