Yini  1.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
DBSession Class Reference

#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
MPOAuthCredentialConcreteStoreanonymousStore

Properties

NSString * root
NSArray * userIds
id< DBSessionDelegatedelegate

Member Function Documentation

- (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 

Member Data Documentation

- (MPOAuthCredentialConcreteStore*) anonymousStore
protected
- (NSDictionary*) baseCredentials
protected
- (NSMutableDictionary*) credentialStores
protected

Property Documentation

- (id< DBSessionDelegate >) delegate
readwritenonatomicassign
- (NSString *) root
readnonatomicassign
- (NSArray*) userIds
readnonatomicassign

The documentation for this class was generated from the following file: