oauth 2.0 - RESTKit 0.20 - Logout and Clear Authorization Header -


what's best practice logout , clean authorization header, etc. restkit 0.20?

will method suffice?

rkobjectmanager *objectmanager = [self getobjectmanager]; [objectmanager.httpclient clearauthorizationheader]; 

if use 1 of setauthorizationheaderfield* methods on http client add authorisation calling clearauthorizationheader correct approach take.

if explicitly set header or parameter need clear header or stored attribute.


Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -