Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (16 sloc) 725 Bytes
//
// Copyright (c) 2012 Doximity. All rights reserved.
//
#import "DoxWebViewController.h"
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@protocol DoximityMobileAuthDelegate <NSObject>
- (void)recievedToken:(NSString *)authToken;
@end
@interface DoximityMobileAuth : NSObject
@property (nonatomic, weak) id <DoximityMobileAuthDelegate> delegate;
@property (nonatomic, readonly) NSString *redirectURI;
+ (DoximityMobileAuth *)shared;
- (void) configureWithAppId:(NSString *)appId clientSecret:(NSString *)secret responseType:(NSString *)responseType redirectURI:(NSString *)redirectURI scope:(NSString *)scope type:(NSString *)type state:(NSString *)state;
- (DoxWebViewController *) loginView;
@end