SGOAuth |
This class maintains a single 2-legged OAuth implementation.
Conforms to: SGAuthorization
Superclass: NSObject
Declared In: SGOAuth.h
In order to use 2-legged OAuth SGLocationService , you must set HTTPAuthorizer . All HTTP requests that come from SGLLocationService will be wrapped by this authorization protocol.
Initializes a new instance of SGOAuth with the proper credentials.
Initializes a new instance with the most recently used secret and consumer key.
Stores the token in the user's standard defaults. 
Removes any token that is stored in the user's standard defaults.
initWithKey:secret: |
Initializes a new instance of SGOAuth with the proper credentials.
- (id) initWithKey:(NSString *)key secret:(NSString *)secret;
key
The consumer key.
secret
The secret key/
A new instance of SGOAuth.
resume |
Initializes a new instance with the most recently used secret and consumer key.
+ (SGOAuth*) resume;
 A new instance of SGOAuth.
save |
Stores the token in the user's standard defaults. 
- (void) save;
unSave |
Removes any token that is stored in the user's standard defaults.
- (void) unSave;
The consumer key.
The secret key.
consumerKey |
The consumer key.
@property ( nonatomic, readonly) NSString* consumerKey;
secretKey |
The secret key.
@property ( nonatomic, readonly) NSString* secretKey;
@ property
© SimpleGeo Last Updated: 03/31/2010