-
- All Known Implementing Classes:
MattermostClient
public interface SamlApiSAML API.- Author:
- Takayuki Maruyama
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ApiResponse<Boolean>deleteSamlIdpCertificate()deletes the SAML IDP certificate from the server and updates the config to not use it and disable SAML.ApiResponse<Boolean>deleteSamlPrivateCertificate()deletes the SAML IDP certificate from the server and updates the config to not use it and disable SAML.ApiResponse<Boolean>deleteSamlPublicCertificate()deletes the saml IDP certificate from the server and updates the config to not use it and disable SAML.ApiResponse<SamlCertificateStatus>getSamlCertificateStatus()returns metadata for the SAML configuration.ApiResponse<Path>getSamlMetadata()returns metadata for the SAML configuration.ApiResponse<Boolean>uploadSamlIdpCertificate(Path dataFile, String fileName)will upload an IDP certificate for SAML and set the config to use it.ApiResponse<Boolean>uploadSamlPrivateCertificate(Path dataFile, String fileName)will upload a private key for SAML and set the config to use it.ApiResponse<Boolean>uploadSamlPublicCertificate(Path dataFile, String fileName)will upload a public certificate for SAML and set the config to use it.
-
-
-
Method Detail
-
getSamlMetadata
ApiResponse<Path> getSamlMetadata() throws IOException
returns metadata for the SAML configuration.- Throws:
IOException
-
uploadSamlIdpCertificate
ApiResponse<Boolean> uploadSamlIdpCertificate(Path dataFile, String fileName)
will upload an IDP certificate for SAML and set the config to use it.
-
uploadSamlPublicCertificate
ApiResponse<Boolean> uploadSamlPublicCertificate(Path dataFile, String fileName)
will upload a public certificate for SAML and set the config to use it.
-
uploadSamlPrivateCertificate
ApiResponse<Boolean> uploadSamlPrivateCertificate(Path dataFile, String fileName)
will upload a private key for SAML and set the config to use it.
-
deleteSamlIdpCertificate
ApiResponse<Boolean> deleteSamlIdpCertificate()
deletes the SAML IDP certificate from the server and updates the config to not use it and disable SAML.
-
deleteSamlPublicCertificate
ApiResponse<Boolean> deleteSamlPublicCertificate()
deletes the saml IDP certificate from the server and updates the config to not use it and disable SAML.
-
deleteSamlPrivateCertificate
ApiResponse<Boolean> deleteSamlPrivateCertificate()
deletes the SAML IDP certificate from the server and updates the config to not use it and disable SAML.
-
getSamlCertificateStatus
ApiResponse<SamlCertificateStatus> getSamlCertificateStatus()
returns metadata for the SAML configuration.
-
-