Hooks
Index
Properties
Properties
optionalgetNpmAuthenticationHeader
Type declaration
Called when getting the authentication header for a request to the npm registry. You can use this mechanism to dynamically query a CLI for the credentials for a specific registry.
Parameters
currentHeader: undefined | string
registry: string
__namedParameters: { configuration: Configuration; ident?: Ident }
Returns Promise<undefined | string>
Called when getting the authentication header for a request to the npm registry. You can use this mechanism to dynamically query a CLI for the credentials for a specific registry.