Summary
Sets scope for credentials.
- 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 . |