View Source fast_scram_configuration (fast_scram v0.6.0)

Summary

Types

-type auth_keys() :: password | salted_password | client_key | stored_key | server_key.
-type challenge() :: #challenge{}.
-type channel_binding() :: #channel_binding{}.
-type configuration() :: map().
-type fast_scram_state() :: #fast_scram_state{}.
-type nonce() :: #nonce{}.
-type option() :: atom().
-type plus_variant() :: undefined | none | binary().
-type scram_definitions() :: #scram_definitions{}.
-type sha_type() :: crypto:sha1() | crypto:sha2().
-type value() :: term().

Functions

Link to this function

mech_append(Fast_scram_state, Config)

View Source
-spec mech_append(fast_scram_state(), configuration()) -> fast_scram_state() | {error, binary()}.