Configures the authentication method:
BasicHttpAuth is the least secure form of authentication supplied in the client. As credentials are not encrypted and the encoding is simple
to reverse engineer, the HTTP client fails to send if the client’s Mode is set to insecure.
BearerTokenAuth is the method used when an API requires a token string to identify the user or user session.
HeaderTokenAuth supplies a service token/key as a HTTP header, but stores this as a password for security reasons.
HttpDigestAuth involves a ‘hash function’ applied to the user’s credentials.
NiagaraScramShaDigestAuth is a more complex variant of Digest authentication. It serves as the default authenticator for a
Niagara user’s credentials.
NoHttpAuth configures no HTTP authentication.
ParameterTokenAuth supplies a service token/key as a HTTP parameter, but stores this as a password for security reasons.
ResponseCookieAuth : Many websites make use of an initial authentication method to create a user session, and then make use of session cookies
to authenticate the user for subsequent requests. To make use of this technique with an HTTP client, first set up an initial
request, which authenticates the user.
|