diff options
Diffstat (limited to 'webapp/client')
-rw-r--r-- | webapp/client/client.jsx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/webapp/client/client.jsx b/webapp/client/client.jsx index 5ee28be78..88da51372 100644 --- a/webapp/client/client.jsx +++ b/webapp/client/client.jsx @@ -1667,4 +1667,17 @@ export default class Client { send({filename}). end(this.handleResponse.bind(this, 'removeCertificateFile', success, error)); } + + samlCertificateStatus(success, error) { + request.get(`${this.getAdminRoute()}/saml_cert_status`). + set(this.defaultHeaders). + type('application/json'). + accept('application/json'). + end((err, res) => { + if (err) { + return error(err); + } + return success(res.body); + }); + } } |