Interface SamlApi

  • All Known Implementing Classes:
    MattermostClient

    public interface SamlApi
    SAML API.
    Author:
    Takayuki Maruyama
    • Method Detail

      • 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.