ordercloud-javascript-sdk
    Preparing search index...

    Class Certs

    Index
    • Returns this

      enables impersonation by calling the subsequent method with the stored impersonation token

      Certs.As().List() // lists Certs using the impersonated users' token
      
    • Get a single cert public key. Returns a JSON Web Key (JWK). Can be used for validating the token was signed by OrderCloud. Check out the docs for more info

      Type Parameters

      Parameters

      • ID: string

        ID of the public key.

      • requestOptions: RequestOptions = {}
        • OptionalaccessToken?: string

          Alternative token to the one stored in the sdk instance (useful for impersonation).

        • OptionalcancelToken?: CancelToken

          Axios cancelToken that can be used to cancel the request.

        • OptionalrequestType?: string

          Identify the type of request. Useful for error logs.

      Returns Promise<RequiredDeep<TPublicKey>>