Electric.Client.Authenticator.MockAuthenticator (Electric Client v0.10.2)

Copy Markdown View Source

A pseudo-authenticating Electric.Client.Authenticator implementation.

This generates fake authentication headers, useful for validating that the Authenticator behaviour is being called correctly.

Summary

Functions

authenticate_request(request, config)

Callback implementation for Electric.Client.Authenticator.authenticate_request/2.

authenticate_shape(shape, config)

Callback implementation for Electric.Client.Authenticator.authenticate_shape/2.