@@ -328,7 +328,7 @@ extract_ssl_options_as_list(Map) ->
328328% Replace peer_verification with verify to make it more consistent with other
329329% ssl_options in RabbitMQ and Erlang's ssl options
330330% Eventually, peer_verification will be removed. For now, both are allowed
331- -spec get_verify_or_peer_verification (#{atom () => any ()}, any ()) -> proplists : proplist () .
331+ -spec get_verify_or_peer_verification (#{atom () => any ()}, verify_none | verify_peer ) -> verify_none | verify_peer .
332332get_verify_or_peer_verification (Ssl_options , Default ) ->
333333 case maps :get (verify , Ssl_options , undefined ) of
334334 undefined ->
@@ -437,14 +437,13 @@ map_to_oauth_provider(Map) when is_map(Map) ->
437437 jwks_uri = maps :get (? RESPONSE_JWKS_URI , Map , undefined )
438438 };
439439
440- map_to_oauth_provider (PropList ) when is_list (PropList ) ->
440+ map_to_oauth_provider (PropList ) when is_list (PropList ) ->
441441 # oauth_provider {
442442 issuer = proplists :get_value (issuer , PropList ),
443443 token_endpoint = proplists :get_value (token_endpoint , PropList ),
444444 authorization_endpoint = proplists :get_value (authorization_endpoint , PropList , undefined ),
445445 jwks_uri = proplists :get_value (jwks_uri , PropList , undefined ),
446- ssl_options = extract_ssl_options_as_list (maps :from_list (
447- proplists :get_value (https , PropList , [])))
446+ ssl_options = extract_ssl_options_as_list (maps :from_list (proplists :get_value (https , PropList , [])))
448447 }.
449448
450449
0 commit comments