Constructs a PrivateKeyAuthenticationInfo.
Client ID for this private key
Private key to use to generate authentication for requests, in JSON Web Key format
Optional
asUserId: stringIf present, instructs the DOIP service to perform operations as this user
Returns the clientId property to be used in DOIP requests made with this AuthenticationInfo.
Returns (async) the authentication property to be used in DOIP requests made with this AuthenticationInfo.
Used for authenticating using a private key.
Example