Files
FinalYearProject-MyMind/My Broken Mind/My Mind/AmazonAws/AWSMobileHubHelper.framework/Headers/AWSMSDynamicsAuthorizationManager.h
Alexander Davis 0018e82ee5 App Completed
Basic Prototype App Completed. Proposal, Literature Review and Final
Report to Follow.
2017-04-13 18:18:38 +01:00

56 lines
1.5 KiB
Objective-C
Executable File

//
// AWSMSDynamicsAuthorizationManager.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 AWSMSDynamicsAuthorizationManager : AWSAuthorizationManager
/**
* Singleton used to authorize user during OAuth2.0
* @return the singleton
*/
+ (instancetype _Nonnull)sharedInstance;
/**
* Customize the flow.
*
* @param clientID The client ID provided by Microsoft Dynamics
* @param redirectURI The redirect URI you provided Microsoft Dynamics
* i.e. https://mysampleapp.amazonaws.com/msdynamics/success
* @param resource The URL of the resource you will access
*/
- (void)configureWithClientID:(NSString * _Nonnull)clientID
redirectURI:(NSString * _Nonnull)redirectURI
resource:(NSString * _Nonnull)resource;
/**
* @param The version of Microsoft Dynamics API you are using.
* The default value is "v8.0"
*/
- (void)setAPIVersion:(NSString * _Nonnull)apiVersion;
/**
* @return The token type. Available after user authorizes app.
* i.e. Bearer
*/
- (NSString * _Nullable)getTokenType;
/**
* @return The resource you will access in Microsoft Dynamics
* with the API version attached to the end
* i.e. https://emhawsapps.crm.dynamics.com
*/
- (NSString * _Nullable)getResourceURL;
/**
* @return the accessToken used for API calls
*/
- (NSString * _Nullable)getAccessToken;
@end