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.Http.
Summary
Adds a Authorization Header to the request.
- Assembly
- Cake
.Http .dll - Namespace
- Cake
.Http - Containing Type
- Http
Settings Extensions
Syntax
public static HttpSettings SetAuthorization(this HttpSettings settings, string schema, string parameter)
Parameters
Name | Type | Description |
---|---|---|
settings | HttpSettings | The settings. |
schema | string | The scheme to use for authorization. |
parameter | string | The credentials containing the authentication information of the user agent for |
Return Value
Type | Description |
---|---|
HttpSettings | The same HttpSettings instance so that multiple calls can be chained. |