HTTP Authentication
Last updated
Last updated
To authenticate to a backend service with an LTO account, you can sign the HTTP request using the .
The sign()
method accepts an LTO account as the signer
. The keyid
will be the public key of the account.
The verify()
method accepts an LTO client as verifier. The key type is determined based on the algorithm specified in the Signature
. The keyid is used as the public key. The verify()
method uses the LTO Client to create an account from the public key and verify the signature.
You can sign a object or a plain object.