Skip to content

Commit 6191b43

Browse files
More documentation for loginConfirmed (#66)
1 parent f379661 commit 6191b43

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/http-auth-interceptor.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
* retry of all deferred requests.
1818
* @param data an optional argument to pass on to $broadcast which may be useful for
1919
* example if you need to pass through details of the user that was logged in
20+
* @param configUpdater an optional transformation function that can modify the
21+
* $http configuration object for requests that are retried
22+
* after having logged in. This can be used for example to add
23+
* an authentication token. It must return the modified configuration object.
2024
*/
2125
loginConfirmed: function(data, configUpdater) {
2226
var updater = configUpdater || function(config) {return config;};

0 commit comments

Comments
 (0)