./ct_report/coverage/cyrsasl_scram_sha256_plus.COVER.html

1 -module(cyrsasl_scram_sha256_plus).
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 20087 <<"SCRAM-SHA-256-PLUS">>.
12
13 mech_new(Host, Creds, #{} = SocketData) ->
14 4 cyrsasl_scram:mech_new(Host, Creds, SocketData#{sha => sha256, scram_plus => true}).
15
16 mech_step(State, ClientIn) ->
17 8 cyrsasl_scram:mech_step(State, ClientIn).
Line Hits Source