Skip to main content

AuthStrategy

Upgather SDK


Upgather SDK / AuthStrategy

Interface: AuthStrategy

Defined in: lib/auth/AuthStrategy.ts:10

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

Defined in: lib/auth/AuthStrategy.ts:16

Applies authentication details to the provided HTTP request.

Parameters

request

HttpRequest

The HTTP request to authenticate.

Returns

void