./ct_report/coverage/cyrsasl_scram_sha256.COVER.html

1 -module(cyrsasl_scram_sha256).
2
3 -export([mechanism/0, mech_new/3, mech_step/2]).
4
5 -ignore_xref([mech_new/3]).
6
7 -behaviour(cyrsasl).
8
9 -spec mechanism() -> cyrsasl:mechanism().
10 mechanism() ->
11 10298 <<"SCRAM-SHA-256">>.
12
13 mech_new(Host, Creds, #{} = SocketData) ->
14 9 cyrsasl_scram:mech_new(Host, Creds, SocketData#{sha => sha256, scram_plus => false}).
15
16 mech_step(State, ClientIn) ->
17 14 cyrsasl_scram:mech_step(State, ClientIn).
Line Hits Source