OAuthSwiftAlamofire
OAuthSwiftAlamofire copied to clipboard
Question: how to make an Alamofire request without the consumerSecret?
Today, I am using SessionManager to make my OAuth1 URL requests via Alamofire.
sessionManager = SessionManager( configuration: .default )
sessionManager?.adapter = oauth!.requestAdapter
sessionManager?.request( ... ) ...
This works just fine, except that it requires the consumerSecret to create my OAuth1 object/requestAdapter, even though the OAuth1-authenticated API request only needs the consumerKey and token in the headers.
Is there a straightforward way to create an Alamofire/OAuth1 request without the consumerSecret?