@@ -386,10 +386,10 @@ perform_request(State, Service, Method, Headers, Path, Body, Options, Host) ->
386386 Headers , Path , Body , Options , Host ).
387387
388388
389- -spec perform_request_has_creds (true | false , State :: state (),
390- Service :: string (), Method :: method (),
391- Headers :: headers (), Path :: path (), Body :: body (),
392- Options :: http_options (), Host :: string () | undefined )
389+ -spec perform_request_has_creds (HasCreds :: boolean () , State :: state (),
390+ Service :: string (), Method :: method (),
391+ Headers :: headers (), Path :: path (), Body :: body (),
392+ Options :: http_options (), Host :: string () | undefined )
393393 -> {Result :: result (), NewState :: state ()}.
394394% % @doc Invoked after checking to see if there are credentials. If there are,
395395% % validate they have not or will not expire, performing the request if not,
@@ -402,10 +402,10 @@ perform_request_has_creds(false, State, _, _, _, _, _, _, _) ->
402402 perform_request_creds_error (State ).
403403
404404
405- -spec perform_request_creds_expired (true | false , State :: state (),
406- Service :: string (), Method :: method (),
407- Headers :: headers (), Path :: path (), Body :: body (),
408- Options :: http_options (), Host :: string () | undefined )
405+ -spec perform_request_creds_expired (CredsExp :: boolean () , State :: state (),
406+ Service :: string (), Method :: method (),
407+ Headers :: headers (), Path :: path (), Body :: body (),
408+ Options :: http_options (), Host :: string () | undefined )
409409 -> {Result :: result (), NewState :: state ()}.
410410% % @doc Invoked after checking to see if the current credentials have expired.
411411% % If they haven't, perform the request, otherwise try and refresh the
0 commit comments