NAME

WebService::Mattermost::V4::API::Resource::SAML::Certificate - Wrapped API methods for the SAML certificate API endpoints.

VERSION

version 0.29

DESCRIPTION

USAGE

use WebService::Mattermost;

my $mm = WebService::Mattermost->new({
    authenticate => 1,
    username     => 'me@somewhere.com',
    password     => 'hunter2',
    base_url     => 'https://my.mattermost.server.com/api/v4/',
});

my $resource = $mm->api->saml->certificate;

METHODS

idp_upload()

Upload an IDP key.

$resource->idp_upload('/path/to/idp.key');
idp_remove()

Remove your associated IDP key.

$resource->idp_remove();
public_upload()

Upload a public key.

$resource->public_upload('/path/to/public.key');
public_remove()

Remove your associated public key.

$resource->public_remove();
private_upload()

Upload a private key.

$resource->private_upload('/path/to/private.key');
private_remove()

Remove your associated private key.

$resource->private_remove();

SEE ALSO

Official SAML documentation

AUTHOR

Mike Jones <mike@netsplit.org.uk>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2020 by Mike Jones.

This is free software, licensed under:

The MIT (X11) License