AuthenticatorWrapper
Ecng.Net.RestSharpHelper
Implementa: IAuthenticator
Métodos
RegisterRequest
public IDisposable RegisterRequest(RestRequest req, IAuthenticator authenticator)
result = authenticatorWrapper.RegisterRequest(req, authenticator)
Registers an authenticator for a given request.
- req
- The request to register the authenticator with.
- authenticator
- The authenticator to register.
Devuelve: A disposable that, when disposed, unregisters the authenticator.
RestSharp#Authenticators#IAuthenticator#Authenticate(IRestClient, RestRequest)