AuthenticatorWrapper
Ecng.Net.RestSharpHelper
実装: IAuthenticator
メソッド
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.
戻り値: A disposable that, when disposed, unregisters the authenticator.
RestSharp#Authenticators#IAuthenticator#Authenticate(IRestClient, RestRequest)