Certificate Finder
CertificateFinder
CertificateFinder Objects
class CertificateFinder()This class allow make get request to certificate resource into Opengate North API.
constructor
function constructor()Constructor
Arguments:
ReferenceInternalOpenGateAPI - to the API object.
findById
function findById(id: string) -> 'Promise'Download a specific certificate by id. This execute a GET http method
Arguments:
idstring - Id of the certificate.
Returns:
Promise
findByIdAndFormat
function findByIdAndFormat(id: string,mimetype: string) -> 'Promise'Download a certificate using id and in a specific format. This execute a GET http method
Arguments:
idstring - Id of the certificate.mimetypestring - Certificate format mimetype.
Returns:
Promise