- Fix Libraries
This commit is contained in:
parent
7744d145e0
commit
7024525475
@ -11,6 +11,7 @@ target 'PNObject_Example' do
|
|||||||
pod 'NSString-Helper'
|
pod 'NSString-Helper'
|
||||||
pod 'CodFis-Helper'
|
pod 'CodFis-Helper'
|
||||||
pod 'StrongestPasswordValidator'
|
pod 'StrongestPasswordValidator'
|
||||||
|
pod 'AFOAuth2Manager', :git => 'https://github.com/AFNetworking/AFOAuth2Manager.git', :branch => '3_0_0_branch'
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@ -14,6 +14,8 @@ PODS:
|
|||||||
- AFNetworking/Serialization (3.0.4)
|
- AFNetworking/Serialization (3.0.4)
|
||||||
- AFNetworking/UIKit (3.0.4):
|
- AFNetworking/UIKit (3.0.4):
|
||||||
- AFNetworking/NSURLSession
|
- AFNetworking/NSURLSession
|
||||||
|
- AFOAuth2Manager (3.0.0):
|
||||||
|
- AFNetworking/NSURLSession (~> 3.0)
|
||||||
- CodFis-Helper (0.1.2)
|
- CodFis-Helper (0.1.2)
|
||||||
- Expecta (1.0.5)
|
- Expecta (1.0.5)
|
||||||
- Expecta+Snapshots (2.0.0):
|
- Expecta+Snapshots (2.0.0):
|
||||||
@ -43,6 +45,7 @@ PODS:
|
|||||||
|
|
||||||
DEPENDENCIES:
|
DEPENDENCIES:
|
||||||
- AFNetworking
|
- AFNetworking
|
||||||
|
- AFOAuth2Manager (from `https://github.com/AFNetworking/AFOAuth2Manager.git`, branch `3_0_0_branch`)
|
||||||
- CodFis-Helper
|
- CodFis-Helper
|
||||||
- Expecta
|
- Expecta
|
||||||
- Expecta+Snapshots
|
- Expecta+Snapshots
|
||||||
@ -57,11 +60,20 @@ DEPENDENCIES:
|
|||||||
- UIDevice-Utils
|
- UIDevice-Utils
|
||||||
|
|
||||||
EXTERNAL SOURCES:
|
EXTERNAL SOURCES:
|
||||||
|
AFOAuth2Manager:
|
||||||
|
:branch: 3_0_0_branch
|
||||||
|
:git: https://github.com/AFNetworking/AFOAuth2Manager.git
|
||||||
PNObject:
|
PNObject:
|
||||||
:path: "../"
|
:path: "../"
|
||||||
|
|
||||||
|
CHECKOUT OPTIONS:
|
||||||
|
AFOAuth2Manager:
|
||||||
|
:commit: b2c665b1d354ed322517cbfed004ec210c193200
|
||||||
|
:git: https://github.com/AFNetworking/AFOAuth2Manager.git
|
||||||
|
|
||||||
SPEC CHECKSUMS:
|
SPEC CHECKSUMS:
|
||||||
AFNetworking: a0075feb321559dc78d9d85b55d11caa19eabb93
|
AFNetworking: a0075feb321559dc78d9d85b55d11caa19eabb93
|
||||||
|
AFOAuth2Manager: 0566da1be64883e339813d411229fdc9a84dab7c
|
||||||
CodFis-Helper: f303810699f22dbcba8fb8c600545ac91fc3ec42
|
CodFis-Helper: f303810699f22dbcba8fb8c600545ac91fc3ec42
|
||||||
Expecta: e1c022fcd33910b6be89c291d2775b3fe27a89fe
|
Expecta: e1c022fcd33910b6be89c291d2775b3fe27a89fe
|
||||||
Expecta+Snapshots: 29b38dd695bc72a0ed2bea833937d78df41943ba
|
Expecta+Snapshots: 29b38dd695bc72a0ed2bea833937d78df41943ba
|
||||||
@ -75,6 +87,6 @@ SPEC CHECKSUMS:
|
|||||||
StrongestPasswordValidator: 554de9038705e18904f0337903dfd3b85a6b271b
|
StrongestPasswordValidator: 554de9038705e18904f0337903dfd3b85a6b271b
|
||||||
UIDevice-Utils: 0beb5f9d2bd256a3efe05c1e43a2a8b8702199c4
|
UIDevice-Utils: 0beb5f9d2bd256a3efe05c1e43a2a8b8702199c4
|
||||||
|
|
||||||
PODFILE CHECKSUM: 45be31a9be903e671ec86941620bd073cbb1de02
|
PODFILE CHECKSUM: a99ea6f90d6a9ddab0074828d11a973ce39b397e
|
||||||
|
|
||||||
COCOAPODS: 1.0.0.beta.3
|
COCOAPODS: 1.0.0.beta.3
|
||||||
|
|||||||
19
Example/Pods/AFOAuth2Manager/LICENSE
generated
Normal file
19
Example/Pods/AFOAuth2Manager/LICENSE
generated
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
Copyright (c) 2011-2014 AFNetworking (http://afnetworking.com)
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in
|
||||||
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
THE SOFTWARE.
|
||||||
68
Example/Pods/AFOAuth2Manager/README.md
generated
Normal file
68
Example/Pods/AFOAuth2Manager/README.md
generated
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
# AFOAuth2Manager
|
||||||
|
|
||||||
|
AFOAuth2Manager is an extension for [AFNetworking](http://github.com/AFNetworking/AFNetworking/) that simplifies the process of authenticating against an [OAuth 2](https://tools.ietf.org/html/rfc6749) provider.
|
||||||
|
|
||||||
|
## Example Usage
|
||||||
|
|
||||||
|
### Authentication
|
||||||
|
|
||||||
|
```objective-c
|
||||||
|
NSURL *baseURL = [NSURL URLWithString:@"http://example.com/"];
|
||||||
|
AFOAuth2Manager *OAuth2Manager =
|
||||||
|
[[AFOAuth2Manager alloc] initWithBaseURL:baseURL
|
||||||
|
clientID:kClientID
|
||||||
|
secret:kClientSecret];
|
||||||
|
|
||||||
|
[OAuth2Manager authenticateUsingOAuthWithURLString:@"/oauth/token"
|
||||||
|
username:@"username"
|
||||||
|
password:@"password"
|
||||||
|
scope:@"email"
|
||||||
|
success:^(AFOAuthCredential *credential) {
|
||||||
|
NSLog(@"Token: %@", credential.accessToken);
|
||||||
|
}
|
||||||
|
failure:^(NSError *error) {
|
||||||
|
NSLog(@"Error: %@", error);
|
||||||
|
}];
|
||||||
|
```
|
||||||
|
|
||||||
|
### Authorizing Requests
|
||||||
|
|
||||||
|
```objective-c
|
||||||
|
AFHTTPSessionManager *manager =
|
||||||
|
[[AFHTTPSessionManager alloc] initWithBaseURL:baseURL];
|
||||||
|
|
||||||
|
[manager.requestSerializer setAuthorizationHeaderFieldWithCredential:credential];
|
||||||
|
|
||||||
|
[manager GET:@"/path/to/protected/resource"
|
||||||
|
parameters:nil
|
||||||
|
progress:nil
|
||||||
|
success:^(NSURLSessionDataTask * _Nonnull task, id _Nullable responseObject) {
|
||||||
|
NSLog(@"Success: %@", responseObject);
|
||||||
|
}
|
||||||
|
failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) {
|
||||||
|
NSLog(@"Failure: %@", error);
|
||||||
|
}];
|
||||||
|
```
|
||||||
|
|
||||||
|
### Storing Credentials
|
||||||
|
|
||||||
|
```objective-c
|
||||||
|
[AFOAuthCredential storeCredential:credential
|
||||||
|
withIdentifier:serviceProviderIdentifier];
|
||||||
|
```
|
||||||
|
|
||||||
|
### Retrieving Credentials
|
||||||
|
|
||||||
|
```objective-c
|
||||||
|
AFOAuthCredential *credential =
|
||||||
|
[AFOAuthCredential retrieveCredentialWithIdentifier:serviceProviderIdentifier];
|
||||||
|
```
|
||||||
|
|
||||||
|
## Documentation
|
||||||
|
|
||||||
|
Documentation for all releases of AFOAuth2Manager are [available on CocoaDocs](http://cocoadocs.org/docsets/AFOAuth2Manager/).
|
||||||
|
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
AFOAuth2Manager is available under the MIT license. See the LICENSE file for more info.
|
||||||
31
Example/Pods/Local Podspecs/AFOAuth2Manager.podspec.json
generated
Normal file
31
Example/Pods/Local Podspecs/AFOAuth2Manager.podspec.json
generated
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{
|
||||||
|
"name": "AFOAuth2Manager",
|
||||||
|
"version": "3.0.0",
|
||||||
|
"license": "MIT",
|
||||||
|
"summary": "AFNetworking Extension for OAuth 2 Authentication.",
|
||||||
|
"homepage": "https://github.com/AFNetworking/AFOAuth2Manager",
|
||||||
|
"social_media_url": "https://twitter.com/AFNetworking",
|
||||||
|
"authors": {
|
||||||
|
"Mattt Thompson": "m@mattt.me"
|
||||||
|
},
|
||||||
|
"source": {
|
||||||
|
"git": "https://github.com/AFNetworking/AFOAuth2Manager.git",
|
||||||
|
"tag": "3.0.0"
|
||||||
|
},
|
||||||
|
"source_files": "AFOAuth2Manager",
|
||||||
|
"requires_arc": true,
|
||||||
|
"platforms": {
|
||||||
|
"ios": "7.0",
|
||||||
|
"osx": "10.9",
|
||||||
|
"tvos": "9.0",
|
||||||
|
"watchos": "2.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"AFNetworking/NSURLSession": [
|
||||||
|
"~>3.0"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"ios": {
|
||||||
|
"frameworks": "Security"
|
||||||
|
}
|
||||||
|
}
|
||||||
14
Example/Pods/Manifest.lock
generated
14
Example/Pods/Manifest.lock
generated
@ -14,6 +14,8 @@ PODS:
|
|||||||
- AFNetworking/Serialization (3.0.4)
|
- AFNetworking/Serialization (3.0.4)
|
||||||
- AFNetworking/UIKit (3.0.4):
|
- AFNetworking/UIKit (3.0.4):
|
||||||
- AFNetworking/NSURLSession
|
- AFNetworking/NSURLSession
|
||||||
|
- AFOAuth2Manager (3.0.0):
|
||||||
|
- AFNetworking/NSURLSession (~> 3.0)
|
||||||
- CodFis-Helper (0.1.2)
|
- CodFis-Helper (0.1.2)
|
||||||
- Expecta (1.0.5)
|
- Expecta (1.0.5)
|
||||||
- Expecta+Snapshots (2.0.0):
|
- Expecta+Snapshots (2.0.0):
|
||||||
@ -43,6 +45,7 @@ PODS:
|
|||||||
|
|
||||||
DEPENDENCIES:
|
DEPENDENCIES:
|
||||||
- AFNetworking
|
- AFNetworking
|
||||||
|
- AFOAuth2Manager (from `https://github.com/AFNetworking/AFOAuth2Manager.git`, branch `3_0_0_branch`)
|
||||||
- CodFis-Helper
|
- CodFis-Helper
|
||||||
- Expecta
|
- Expecta
|
||||||
- Expecta+Snapshots
|
- Expecta+Snapshots
|
||||||
@ -57,11 +60,20 @@ DEPENDENCIES:
|
|||||||
- UIDevice-Utils
|
- UIDevice-Utils
|
||||||
|
|
||||||
EXTERNAL SOURCES:
|
EXTERNAL SOURCES:
|
||||||
|
AFOAuth2Manager:
|
||||||
|
:branch: 3_0_0_branch
|
||||||
|
:git: https://github.com/AFNetworking/AFOAuth2Manager.git
|
||||||
PNObject:
|
PNObject:
|
||||||
:path: "../"
|
:path: "../"
|
||||||
|
|
||||||
|
CHECKOUT OPTIONS:
|
||||||
|
AFOAuth2Manager:
|
||||||
|
:commit: b2c665b1d354ed322517cbfed004ec210c193200
|
||||||
|
:git: https://github.com/AFNetworking/AFOAuth2Manager.git
|
||||||
|
|
||||||
SPEC CHECKSUMS:
|
SPEC CHECKSUMS:
|
||||||
AFNetworking: a0075feb321559dc78d9d85b55d11caa19eabb93
|
AFNetworking: a0075feb321559dc78d9d85b55d11caa19eabb93
|
||||||
|
AFOAuth2Manager: 0566da1be64883e339813d411229fdc9a84dab7c
|
||||||
CodFis-Helper: f303810699f22dbcba8fb8c600545ac91fc3ec42
|
CodFis-Helper: f303810699f22dbcba8fb8c600545ac91fc3ec42
|
||||||
Expecta: e1c022fcd33910b6be89c291d2775b3fe27a89fe
|
Expecta: e1c022fcd33910b6be89c291d2775b3fe27a89fe
|
||||||
Expecta+Snapshots: 29b38dd695bc72a0ed2bea833937d78df41943ba
|
Expecta+Snapshots: 29b38dd695bc72a0ed2bea833937d78df41943ba
|
||||||
@ -75,6 +87,6 @@ SPEC CHECKSUMS:
|
|||||||
StrongestPasswordValidator: 554de9038705e18904f0337903dfd3b85a6b271b
|
StrongestPasswordValidator: 554de9038705e18904f0337903dfd3b85a6b271b
|
||||||
UIDevice-Utils: 0beb5f9d2bd256a3efe05c1e43a2a8b8702199c4
|
UIDevice-Utils: 0beb5f9d2bd256a3efe05c1e43a2a8b8702199c4
|
||||||
|
|
||||||
PODFILE CHECKSUM: 45be31a9be903e671ec86941620bd073cbb1de02
|
PODFILE CHECKSUM: a99ea6f90d6a9ddab0074828d11a973ce39b397e
|
||||||
|
|
||||||
COCOAPODS: 1.0.0.beta.3
|
COCOAPODS: 1.0.0.beta.3
|
||||||
|
|||||||
2625
Example/Pods/Pods.xcodeproj/project.pbxproj
generated
2625
Example/Pods/Pods.xcodeproj/project.pbxproj
generated
File diff suppressed because it is too large
Load Diff
5
Example/Pods/Target Support Files/AFOAuth2Manager/AFOAuth2Manager-dummy.m
generated
Normal file
5
Example/Pods/Target Support Files/AFOAuth2Manager/AFOAuth2Manager-dummy.m
generated
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
@interface PodsDummy_AFOAuth2Manager : NSObject
|
||||||
|
@end
|
||||||
|
@implementation PodsDummy_AFOAuth2Manager
|
||||||
|
@end
|
||||||
4
Example/Pods/Target Support Files/AFOAuth2Manager/AFOAuth2Manager-prefix.pch
generated
Normal file
4
Example/Pods/Target Support Files/AFOAuth2Manager/AFOAuth2Manager-prefix.pch
generated
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#ifdef __OBJC__
|
||||||
|
#import <UIKit/UIKit.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
9
Example/Pods/Target Support Files/AFOAuth2Manager/AFOAuth2Manager-umbrella.h
generated
Normal file
9
Example/Pods/Target Support Files/AFOAuth2Manager/AFOAuth2Manager-umbrella.h
generated
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#import <UIKit/UIKit.h>
|
||||||
|
|
||||||
|
#import "AFHTTPRequestSerializer+OAuth2.h"
|
||||||
|
#import "AFOAuth2Manager.h"
|
||||||
|
#import "AFOAuthCredential.h"
|
||||||
|
|
||||||
|
FOUNDATION_EXPORT double AFOAuth2ManagerVersionNumber;
|
||||||
|
FOUNDATION_EXPORT const unsigned char AFOAuth2ManagerVersionString[];
|
||||||
|
|
||||||
6
Example/Pods/Target Support Files/AFOAuth2Manager/AFOAuth2Manager.modulemap
generated
Normal file
6
Example/Pods/Target Support Files/AFOAuth2Manager/AFOAuth2Manager.modulemap
generated
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
framework module AFOAuth2Manager {
|
||||||
|
umbrella header "AFOAuth2Manager-umbrella.h"
|
||||||
|
|
||||||
|
export *
|
||||||
|
module * { export * }
|
||||||
|
}
|
||||||
6
Example/Pods/Target Support Files/AFOAuth2Manager/AFOAuth2Manager.xcconfig
generated
Normal file
6
Example/Pods/Target Support Files/AFOAuth2Manager/AFOAuth2Manager.xcconfig
generated
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||||
|
HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public"
|
||||||
|
OTHER_LDFLAGS = -framework "Security"
|
||||||
|
PODS_ROOT = ${SRCROOT}
|
||||||
|
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
|
||||||
|
SKIP_INSTALL = YES
|
||||||
26
Example/Pods/Target Support Files/AFOAuth2Manager/Info.plist
generated
Normal file
26
Example/Pods/Target Support Files/AFOAuth2Manager/Info.plist
generated
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
|
<string>en</string>
|
||||||
|
<key>CFBundleExecutable</key>
|
||||||
|
<string>${EXECUTABLE_NAME}</string>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
|
||||||
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
|
<string>6.0</string>
|
||||||
|
<key>CFBundleName</key>
|
||||||
|
<string>${PRODUCT_NAME}</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>FMWK</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>3.0.0</string>
|
||||||
|
<key>CFBundleSignature</key>
|
||||||
|
<string>????</string>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>${CURRENT_PROJECT_VERSION}</string>
|
||||||
|
<key>NSPrincipalClass</key>
|
||||||
|
<string></string>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
@ -24,6 +24,29 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|||||||
THE SOFTWARE.
|
THE SOFTWARE.
|
||||||
|
|
||||||
|
|
||||||
|
## AFOAuth2Manager
|
||||||
|
|
||||||
|
Copyright (c) 2011-2014 AFNetworking (http://afnetworking.com)
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in
|
||||||
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
THE SOFTWARE.
|
||||||
|
|
||||||
|
|
||||||
## CodFis-Helper
|
## CodFis-Helper
|
||||||
|
|
||||||
Copyright (c) 2015 Giuseppe Nucifora <me@giuseppenucifora.com>
|
Copyright (c) 2015 Giuseppe Nucifora <me@giuseppenucifora.com>
|
||||||
|
|||||||
@ -39,6 +39,33 @@ THE SOFTWARE.
|
|||||||
<key>Type</key>
|
<key>Type</key>
|
||||||
<string>PSGroupSpecifier</string>
|
<string>PSGroupSpecifier</string>
|
||||||
</dict>
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>FooterText</key>
|
||||||
|
<string>Copyright (c) 2011-2014 AFNetworking (http://afnetworking.com)
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in
|
||||||
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
THE SOFTWARE.
|
||||||
|
</string>
|
||||||
|
<key>Title</key>
|
||||||
|
<string>AFOAuth2Manager</string>
|
||||||
|
<key>Type</key>
|
||||||
|
<string>PSGroupSpecifier</string>
|
||||||
|
</dict>
|
||||||
<dict>
|
<dict>
|
||||||
<key>FooterText</key>
|
<key>FooterText</key>
|
||||||
<string>Copyright (c) 2015 Giuseppe Nucifora <me@giuseppenucifora.com>
|
<string>Copyright (c) 2015 Giuseppe Nucifora <me@giuseppenucifora.com>
|
||||||
|
|||||||
@ -85,6 +85,7 @@ strip_invalid_archs() {
|
|||||||
|
|
||||||
if [[ "$CONFIGURATION" == "Debug" ]]; then
|
if [[ "$CONFIGURATION" == "Debug" ]]; then
|
||||||
install_framework "Pods-PNObject_Example/AFNetworking.framework"
|
install_framework "Pods-PNObject_Example/AFNetworking.framework"
|
||||||
|
install_framework "Pods-PNObject_Example/AFOAuth2Manager.framework"
|
||||||
install_framework "Pods-PNObject_Example/CodFis_Helper.framework"
|
install_framework "Pods-PNObject_Example/CodFis_Helper.framework"
|
||||||
install_framework "Pods-PNObject_Example/NSDate_Utils.framework"
|
install_framework "Pods-PNObject_Example/NSDate_Utils.framework"
|
||||||
install_framework "Pods-PNObject_Example/NSString_Helper.framework"
|
install_framework "Pods-PNObject_Example/NSString_Helper.framework"
|
||||||
@ -96,6 +97,7 @@ if [[ "$CONFIGURATION" == "Debug" ]]; then
|
|||||||
fi
|
fi
|
||||||
if [[ "$CONFIGURATION" == "Release" ]]; then
|
if [[ "$CONFIGURATION" == "Release" ]]; then
|
||||||
install_framework "Pods-PNObject_Example/AFNetworking.framework"
|
install_framework "Pods-PNObject_Example/AFNetworking.framework"
|
||||||
|
install_framework "Pods-PNObject_Example/AFOAuth2Manager.framework"
|
||||||
install_framework "Pods-PNObject_Example/CodFis_Helper.framework"
|
install_framework "Pods-PNObject_Example/CodFis_Helper.framework"
|
||||||
install_framework "Pods-PNObject_Example/NSDate_Utils.framework"
|
install_framework "Pods-PNObject_Example/NSDate_Utils.framework"
|
||||||
install_framework "Pods-PNObject_Example/NSString_Helper.framework"
|
install_framework "Pods-PNObject_Example/NSString_Helper.framework"
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||||
LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
|
LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
|
||||||
OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/AFNetworking.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/CodFis_Helper.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/NSDate_Utils.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/NSString_Helper.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/PEAR_FileManager_iOS.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/PNObject.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/StrongestPasswordValidator.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/UIDevice_Utils.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/nv_ios_http_status.framework/Headers"
|
OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/AFNetworking.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/AFOAuth2Manager.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/CodFis_Helper.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/NSDate_Utils.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/NSString_Helper.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/PEAR_FileManager_iOS.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/PNObject.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/StrongestPasswordValidator.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/UIDevice_Utils.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/nv_ios_http_status.framework/Headers"
|
||||||
OTHER_LDFLAGS = $(inherited) -framework "AFNetworking" -framework "CodFis_Helper" -framework "NSDate_Utils" -framework "NSString_Helper" -framework "PEAR_FileManager_iOS" -framework "PNObject" -framework "StrongestPasswordValidator" -framework "UIDevice_Utils" -framework "nv_ios_http_status"
|
OTHER_LDFLAGS = $(inherited) -framework "AFNetworking" -framework "AFOAuth2Manager" -framework "CodFis_Helper" -framework "NSDate_Utils" -framework "NSString_Helper" -framework "PEAR_FileManager_iOS" -framework "PNObject" -framework "StrongestPasswordValidator" -framework "UIDevice_Utils" -framework "nv_ios_http_status"
|
||||||
PODS_FRAMEWORK_BUILD_PATH = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-PNObject_Example"
|
PODS_FRAMEWORK_BUILD_PATH = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-PNObject_Example"
|
||||||
PODS_ROOT = ${SRCROOT}/Pods
|
PODS_ROOT = ${SRCROOT}/Pods
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
|
||||||
LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
|
LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
|
||||||
OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/AFNetworking.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/CodFis_Helper.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/NSDate_Utils.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/NSString_Helper.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/PEAR_FileManager_iOS.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/PNObject.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/StrongestPasswordValidator.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/UIDevice_Utils.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/nv_ios_http_status.framework/Headers"
|
OTHER_CFLAGS = $(inherited) -iquote "$CONFIGURATION_BUILD_DIR/AFNetworking.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/AFOAuth2Manager.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/CodFis_Helper.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/NSDate_Utils.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/NSString_Helper.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/PEAR_FileManager_iOS.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/PNObject.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/StrongestPasswordValidator.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/UIDevice_Utils.framework/Headers" -iquote "$CONFIGURATION_BUILD_DIR/nv_ios_http_status.framework/Headers"
|
||||||
OTHER_LDFLAGS = $(inherited) -framework "AFNetworking" -framework "CodFis_Helper" -framework "NSDate_Utils" -framework "NSString_Helper" -framework "PEAR_FileManager_iOS" -framework "PNObject" -framework "StrongestPasswordValidator" -framework "UIDevice_Utils" -framework "nv_ios_http_status"
|
OTHER_LDFLAGS = $(inherited) -framework "AFNetworking" -framework "AFOAuth2Manager" -framework "CodFis_Helper" -framework "NSDate_Utils" -framework "NSString_Helper" -framework "PEAR_FileManager_iOS" -framework "PNObject" -framework "StrongestPasswordValidator" -framework "UIDevice_Utils" -framework "nv_ios_http_status"
|
||||||
PODS_FRAMEWORK_BUILD_PATH = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-PNObject_Example"
|
PODS_FRAMEWORK_BUILD_PATH = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Pods-PNObject_Example"
|
||||||
PODS_ROOT = ${SRCROOT}/Pods
|
PODS_ROOT = ${SRCROOT}/Pods
|
||||||
|
|||||||
@ -185,7 +185,7 @@ static bool isFirstAccess = YES;
|
|||||||
return _currentEndPointBaseUrl;
|
return _currentEndPointBaseUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (AFHTTPSessionManager *) manager {
|
- (AFOAuth2Manager *) manager {
|
||||||
|
|
||||||
BOOL canTryRefreh = NO;
|
BOOL canTryRefreh = NO;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user