Skip to content

Commit

Permalink
request authorize error
Browse files Browse the repository at this point in the history
  • Loading branch information
evermeer committed Mar 10, 2017
1 parent 0137d6a commit 742621d
Show file tree
Hide file tree
Showing 12 changed files with 542 additions and 316 deletions.
2 changes: 1 addition & 1 deletion AlamofireOauth2.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Pod::Spec.new do |s|
#

s.name = "AlamofireOauth2"
s.version = "2.0.1"
s.version = "2.0.2"
s.summary = "Oauth2 implementation using Alamofire"

s.description = "A Swift implementation of Oauth2 using Alamofire"
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion AlamofireOauth2/AuthenticationViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class AuthenticationViewController : UIViewController, UIWebViewDelegate{
// TO alter if more parameters needed
let url:String! = self.oauth2Settings.authorizeURL + "?response_type=code&client_id=" + self.oauth2Settings.clientID + "&redirect_uri=" + self.oauth2Settings.redirectURL.addingPercentEncoding(withAllowedCharacters: NSCharacterSet.urlHostAllowed)! + "&scope=" + self.oauth2Settings.scope + "&state=" + expectedState

let urlRequest : NSURLRequest = NSURLRequest(url: NSURL(string: url)! as URL)
let urlRequest : NSURLRequest = NSURLRequest(url: NSURL(string: url.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed)!)! as URL)

self.webView!.loadRequest(urlRequest as URLRequest)
}
Expand Down
6 changes: 3 additions & 3 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
PODS:
- Alamofire (4.0.1)
- Alamofire (4.4.0)
- KeychainAccess (3.0.1)

DEPENDENCIES:
- Alamofire
- KeychainAccess

SPEC CHECKSUMS:
Alamofire: 7682d43245de14874acd142ec137b144aa1dd335
Alamofire: dc44b1600b800eb63da6a19039a0083d62a6a62d
KeychainAccess: 017ea25e313a49eda10bb19b0bb0760fb1edfe1a

PODFILE CHECKSUM: 75fe6aafe68962f5b75f2d8d1cff5cb69d50c529

COCOAPODS: 1.1.1
COCOAPODS: 1.2.0
172 changes: 141 additions & 31 deletions Pods/Alamofire/README.md

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions Pods/Alamofire/Source/Alamofire.swift

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

62 changes: 61 additions & 1 deletion Pods/Alamofire/Source/ParameterEncoding.swift

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

101 changes: 74 additions & 27 deletions Pods/Alamofire/Source/Request.swift

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 742621d

Please sign in to comment.