RestConnectionMapperFluentConnectionTConnectionInfoUseBasicAuth Method
Adds Basic Authorization to the connection.
Namespace: Simple.Connector.Framework.Http
Assembly: Simple.Connector.Framework (in Simple.Connector.Framework.dll) Version: 1.4.0.0 (1.4.0.0)
Syntax
public RestConnectionMapperFluentConnection<TConnectionInfo> UseBasicAuth( string userName, string password )
Parameters
userName
Type: SystemString
Username for Basic Authorization.
password
Type: SystemString
Password for Basic Authorization.
Return Value
Type: RestConnectionMapperFluentConnectionTConnectionInfo
Updated connection configuration.
See