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

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

javascript - jquery or ashx not working -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -