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

Why can rails not find a route created by a helper? -

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -