Add automatic request of access, if a connection made with the auth client needs authentication.
With this, a connection can be created and directly used. If the server responses with an header indicating, that authorization is needed, the method -[NXOAuth2Client requestAccessAndRetryConnection:] is called. From there the normal flow for authentication starts. After a successful authentication, the original connection is retried.
Add automatic request of access, if a connection made with the auth client needs authentication.
With this, a connection can be created and directly used. If the server responses with an header indicating, that authorization is needed, the method
-[NXOAuth2Client requestAccessAndRetryConnection:]
is called. From there the normal flow for authentication starts. After a successful authentication, the original connection is retried.