feat(openid): change WORequest to curl lib

This commit is contained in:
Hivert Quentin
2025-05-26 17:40:14 +02:00
parent f53d7b73db
commit cd294603df
5 changed files with 251 additions and 49 deletions

View File

@@ -779,6 +779,15 @@ NSComparisonResult languageSort(id el1, id el2, void *context)
return emailParam;
}
- (NSString *) openIdHttpVersion
{
NSString *httpVersion;
httpVersion = [self stringForKey: @"SOGoOpenIdHttpVersion"];
if(!httpVersion)
httpVersion = @"HTTP/1.1";
return httpVersion;
}
- (BOOL) openIdLogoutEnabled: (NSString *) _domain
{
if(_domain && [self doesLoginTypeByDomain])