View Source Electric.Client.Authenticator.MockAuthenticator (Electric Client v0.2.5)

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

Link to this function

authenticate_request(request, config)

View Source

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

Link to this function

authenticate_shape(shape, config)

View Source

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