Skip to content
This repository has been archived by the owner on Dec 29, 2020. It is now read-only.

Separate setting credentials into a separate class #26

Open
samskiter opened this issue Oct 31, 2014 · 0 comments
Open

Separate setting credentials into a separate class #26

samskiter opened this issue Oct 31, 2014 · 0 comments

Comments

@samskiter
Copy link

It would be useful to have an intermediate class I can subclass that just deals with setting a credential. GROAuth2SessionManager could subclass that.

Then I can use one session manager for all my authenticated calls and another for doing the actual auth.

This is more in keeping with out AFOAuth2Client worked:

it is recommended that you use `AFOAuth2Client` exclusively to get an authorization token, which is then passed to another `AFHTTPClient` subclass.

Unless that advise is now out of date?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant