Skip to content

Commit

Permalink
Remove deprecated Auth.authorise method
Browse files Browse the repository at this point in the history
Part of #1197.
  • Loading branch information
lawrence-forooghian committed Apr 27, 2023
1 parent 2b56a43 commit 5d3a18a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/common/lib/client/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -313,11 +313,6 @@ class Auth {
);
}

authorise(tokenParams: API.Types.TokenParams | null, authOptions: API.Types.AuthOptions, callback: Function): void {
Logger.deprecated('Auth.authorise', 'Auth.authorize');
this.authorize(tokenParams, authOptions, callback);
}

/* For internal use, eg by connectionManager - useful when want to call back
* as soon as we have the new token, rather than waiting for it to take
* effect on the connection as #authorize does */
Expand Down

0 comments on commit 5d3a18a

Please sign in to comment.