+2006-04-23 Helge Hess <helge.hess@opengroupware.org>
+
+ * SoObjects/SoHTTPAuthenticator.m: prepared some Google login API
+ support (v4.5.227)
+
2006-04-12 Marcus Mueller <znek@mulle-kybernetik.com>
* WOHttpAdaptor/WOHttpAdaptor.m: shifted retrieval of WOPort default
NSString *login, *pwd;
NSString *k;
+ /*
+ Hack for Google authentication (we treat the auth just like regular
+ HTTP authentication).
+ */
+ if ([_creds hasPrefix:@"GoogleLogin auth="])
+ _creds = [_creds substringFromIndex:17];
+
+
if (![_creds isNotEmpty]) {
static NSArray *anon = nil;
if (anon == nil)
[_ctx setObject:anon forKey:@"SoAuthenticatedRoles"];
return nil;
}
+ /*
+ Hack for Google authentication (we treat the auth just like regular
+ HTTP authentication).
+ */
+ else if ([auth hasPrefix:@"GoogleLogin auth="])
+ auth = [auth substringFromIndex:17];
/* authentication provided, check whether it's valid */