smith-client-0.0.1: API client for <https://smith.st/ Smith>.

Safe HaskellNone
LanguageHaskell2010

Smith.Client.Api

Description

Smith API definitions.

Should be used as a qualified import from top-level module:

import qualified Smith.Client as Smith

Example: > Smith.runRequest configuration Smith.userinfo

Synopsis

Documentation

userinfo :: Request UserInfo Source #

Obtain the identity information of the currently authenticated user or service.

issue :: CertificateRequest -> Request Certificate Source #

Issue a certificate for the specified request details.

keys :: Environment -> Request [AuthorityPublicKey] Source #

Obtain all CA public keys for the specified environment.