# Functions
NewServerError returns instance of the error based on the provided error.
Serve initializes everything needed by REST API and registers all API endpoints in the provided http router.
# Constants
ClaimQueryDeploymentStatusAndReadiness prescribes to query both claim deployment status (i.e.
ClaimQueryDeploymentStatusOnly prescribes only to query claim deployment status (i.e.
# Variables
AuthRequestObject contains Info for the AuthRequest type.
AuthSuccessObject contains Info for the AuthSuccess type.
ClaimsStatusObject is an informational data structure with Kind and Constructor for ClaimsStatus.
Objects is a list of all objects used in API.
PolicyUpdateResultObject is an informational data structure with Kind and Constructor for PolicyUpdateResult.
ServerErrorObject contains Info for the Error type.
# Structs
AuthRequest represents authentication request.
AuthSuccess represents successful authentication.
Claims represent Aptomi JWT Claims.
ClaimsStatus is a struct which holds status information for a set of given claims.
ClaimStatus is a struct which holds status information for an individual claim.
PolicyUpdateResult represents results of the policy update request, including action plan and event log.
ServerError represents error that could be returned from the API.
# Type aliases
ClaimQueryFlag determines whether to query just claim deployment status, or both deployment + readiness/health checks status.