Yini
1.0
|
#import <DBSession.h>
Public Member Functions | |
(id) | - initWithAppKey:appSecret:root: |
(BOOL) | - isLinked |
(void) | - unlinkAll |
(void) | - unlinkUserId: |
(MPOAuthCredentialConcreteStore *) | - credentialStoreForUserId: |
(void) | - updateAccessToken:accessTokenSecret:forUserId: |
(NSString *) | - appScheme |
(void) | - linkFromController: |
(void) | - linkUserId:fromController: |
(BOOL) | - handleOpenURL: |
Static Public Member Functions | |
(DBSession *) | + sharedSession |
(void) | + setSharedSession: |
(NSDictionary *) | + parseURLParams: |
Protected Attributes | |
NSDictionary * | baseCredentials |
NSMutableDictionary * | credentialStores |
MPOAuthCredentialConcreteStore * | anonymousStore |
Properties | |
NSString * | root |
NSArray * | userIds |
id< DBSessionDelegate > | delegate |
- (NSString *) appScheme |
- (MPOAuthCredentialConcreteStore *) credentialStoreForUserId: | (NSString *) | userId |
- (BOOL) handleOpenURL: | (NSURL *) | url |
- (id) initWithAppKey: | (NSString *) | key | |
appSecret: | (NSString *) | secret | |
root: | (NSString *) | root | |
- (BOOL) isLinked |
- (void) linkFromController: | (UIViewController *) | rootController |
- (void) linkUserId: | (NSString *) | userId | |
fromController: | (UIViewController *) | rootController | |
+ (NSDictionary*) parseURLParams: | (NSString *) | query |
+ (void) setSharedSession: | (DBSession *) | session |
+ (DBSession*) sharedSession |
- (void) unlinkAll |
- (void) unlinkUserId: | (NSString *) | userId |
- (void) updateAccessToken: | (NSString *) | token | |
accessTokenSecret: | (NSString *) | secret | |
forUserId: | (NSString *) | userId | |
|
protected |
|
protected |
|
protected |
|
readwritenonatomicassign |
|
readnonatomicassign |
|
readnonatomicassign |