This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Npm.
Summary
Sets scope for credentials.
- Assembly
- Cake
.Npm .dll - Namespace
- Cake
.Npm .AddUser - Containing Type
- Npm
Add User Settings Extensions
Syntax
public static NpmAddUserSettings ForScope(this NpmAddUserSettings settings, string scope)
Parameters
Name | Type | Description |
---|---|---|
settings | NpmAddUserSettings | The settings. |
scope | string | Scope of credentials. Scope must start with an @. |
Return Value
Type | Description |
---|---|
NpmAddUserSettings | The settings instance with scope added to Scope . |