You've already forked FinalYearProject-MyMind
mirror of
https://github.com/MrLyallCSIT/FinalYearProject-MyMind.git
synced 2026-01-18 07:09:41 +00:00
65 lines
1.6 KiB
Objective-C
Executable File
65 lines
1.6 KiB
Objective-C
Executable File
//
|
|
// AWSQuickbooksAuthorizationManager.h
|
|
//
|
|
// Copyright 2016 Amazon.com, Inc. or its affiliates (Amazon). All Rights Reserved.
|
|
//
|
|
// Code generated by AWS Mobile Hub. Amazon gives unlimited permission to
|
|
// copy, distribute and modify it.
|
|
//
|
|
|
|
#import "AWSAuthorizationManager.h"
|
|
|
|
@interface AWSQuickbooksAuthorizationManager : AWSAuthorizationManager
|
|
|
|
/**
|
|
* Singleton used to authorize user during OAuth1.0
|
|
* @return the singleton
|
|
*/
|
|
+ (instancetype _Nonnull)sharedInstance;
|
|
|
|
/**
|
|
* Customize the flow.
|
|
*
|
|
* @param key The API key provided by Quickbooks
|
|
* @param redirectURI The redirect URI you provided Zendesk
|
|
* i.e. https://mysampleapp.amazonaws.com/zendesk/success
|
|
*/
|
|
- (void)configureWithAPIKey:(NSString * _Nonnull)key
|
|
redirectURI:(NSString * _Nonnull)redirectURI;
|
|
|
|
/**
|
|
* The secret must be set before attempting to authorize.
|
|
* It is recommended that this secret be securely passed to this point.
|
|
*
|
|
* @param secret The API secret provided by Quickbooks
|
|
* i.e. @"abc123"
|
|
*/
|
|
- (void)setAPISecret:(NSString * _Nonnull)secret;
|
|
|
|
/**
|
|
* @return The API secret used to authorize
|
|
*/
|
|
- (NSString * _Nullable)getAPIKey;
|
|
|
|
/**
|
|
* @return The API secret used to authorize
|
|
*/
|
|
- (NSString * _Nullable)getAPISecret;
|
|
|
|
/**
|
|
* @return The access token, available after authorization
|
|
*/
|
|
- (NSString * _Nullable)getAccessToken;
|
|
|
|
/**
|
|
* @return The token secret, available after authorization
|
|
*/
|
|
- (NSString * _Nullable)getAccessTokenSecret;
|
|
|
|
/**
|
|
* @return The realm ID, available after authorization
|
|
*/
|
|
- (NSString * _Nullable)getRealmID;
|
|
|
|
@end
|