C# (CSharp) IBM.Cloudant.Client CookieInterceptor - 3개의 예제가 발견되었습니다. 이것들은 오픈소스 프로젝트에서 추출된 C# (CSharp)의 IBM.Cloudant.Client.CookieInterceptor에 대한 실세계 최고 등급의 예제들입니다. 예제들을 평가하여 예제의 품질 향상에 도움을 줄 수 있습니다.
관련
Related in langs
Adds cookie authentication support to http requests. It does this by adding the cookie header for CouchDB using request interceptor pipeline in IBM.Cloudant.Client.HttpHelper. If a response has a response code of 401, it will fetch a cookie from the server using provided credentials and tell IBM.Cloudant.Client.HttpHelper to reply the request by setting IBM.Cloudant.Client.HttpConnectionInterceptorContext.replayRequest property to true. If the request to get the cookie for use in future request fails with a 401 status code (or any status that indicates client error) cookie authentication will not be attempted again.
This class is used for adding cookie authentication to HTTP requests.