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
Post a Comment