mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-11 00:08:51 +00:00
added methods for supporting SAML2 configuration
This commit is contained in:
@@ -425,6 +425,37 @@ _injectConfigurationFromFile (NSUserDefaults *ud,
|
||||
return [self boolForKey: @"SOGoCASLogoutEnabled"];
|
||||
}
|
||||
|
||||
/* SAML2 support */
|
||||
- (NSString *) SAML2PrivateKeyLocation
|
||||
{
|
||||
return [self stringForKey: @"SOGoSAML2PrivateKeyLocation"];
|
||||
}
|
||||
|
||||
- (NSString *) SAML2CertificateLocation;
|
||||
{
|
||||
return [self stringForKey: @"SOGoSAML2CertificateLocation"];
|
||||
}
|
||||
|
||||
- (NSString *) SAML2IdpMetadataLocation
|
||||
{
|
||||
return [self stringForKey: @"SOGoSAML2IdpMetadataLocation"];
|
||||
}
|
||||
|
||||
- (NSString *) SAML2IdpPublicKeyLocation
|
||||
{
|
||||
return [self stringForKey: @"SOGoSAML2IdpPublicKeyLocation"];
|
||||
}
|
||||
|
||||
- (NSString *) SAML2IdpCertificateLocation
|
||||
{
|
||||
return [self stringForKey: @"SOGoSAML2IdpCertificateLocation"];
|
||||
}
|
||||
|
||||
- (BOOL) SAML2LogoutEnabled
|
||||
{
|
||||
return [self boolForKey: @"SOGoSAML2LogoutEnabled"];
|
||||
}
|
||||
|
||||
- (BOOL) enablePublicAccess
|
||||
{
|
||||
return [self boolForKey: @"SOGoEnablePublicAccess"];
|
||||
|
||||
Reference in New Issue
Block a user