Skip to content

typings: add credentials internal binding types - #65036

Open
HoonDongKang wants to merge 1 commit into
nodejs:mainfrom
HoonDongKang:typings-internalbinding-credentials
Open

typings: add credentials internal binding types#65036
HoonDongKang wants to merge 1 commit into
nodejs:mainfrom
HoonDongKang:typings-internalbinding-credentials

Conversation

@HoonDongKang

Copy link
Copy Markdown
Contributor

Add typings for the credentials internal binding.

Changes:

  • Added typings/internalBinding/credentials.d.ts
  • Added credentials to InternalBindingMap
  • Typed safeGetenv() and getTempDir()
  • Typed POSIX credential helpers exposed during bootstrap:
    • implementsPosixCredentials
    • getuid()
    • geteuid()
    • getgid()
    • getegid()
    • getgroups()
    • initgroups()
    • setegid()
    • seteuid()
    • setgid()
    • setuid()

Add a CredentialsBinding declaration for internalBinding('credentials')
and wire it into InternalBindingMap.

Signed-off-by: HoonDongKang <d159123@naver.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants