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

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -