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.AutoRest.
Summary
Enables the inclusion of a ServiceClientCredentials property and constructor parameter in generated code
- Assembly
- Cake
.AutoRest .dll - Namespace
- Cake
.AutoRest - Containing Type
- Auto
Rest Settings Extensions
Syntax
public static AutoRestSettings AddCredentials(this AutoRestSettings settings, bool useCredentials = true)
Parameters
| Name | Type | Description |
|---|---|---|
| settings | AutoRestSettings | Settings |
| useCredentials | bool | Set to true to enable credentials (defaults to true) |
Return Value
| Type | Description |
|---|---|
| AutoRestSettings |
