@@ -386,10 +386,10 @@ perform_request(State, Service, Method, Headers, Path, Body, Options, Host) ->
386
386
Headers , Path , Body , Options , Host ).
387
387
388
388
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 )
393
393
-> {Result :: result (), NewState :: state ()}.
394
394
% % @doc Invoked after checking to see if there are credentials. If there are,
395
395
% % validate they have not or will not expire, performing the request if not,
@@ -402,10 +402,10 @@ perform_request_has_creds(false, State, _, _, _, _, _, _, _) ->
402
402
perform_request_creds_error (State ).
403
403
404
404
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 )
409
409
-> {Result :: result (), NewState :: state ()}.
410
410
% % @doc Invoked after checking to see if the current credentials have expired.
411
411
% % If they haven't, perform the request, otherwise try and refresh the
0 commit comments