Skip to main content

AuthStrategy

Upgather SDK


Upgather SDK / AuthStrategy

Interface: AuthStrategy

Interface for authentication strategies.

Remarks​

This interface is used to implement various authentication mechanisms that apply authentication details to an HTTP request.

Methods​

authenticate()​

authenticate(request): void

Applies authentication details to the provided HTTP request.

Parameters​

request​

HttpRequest

The HTTP request to authenticate.

Returns​

void