-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated based upon use of modules.exports = syntax
- Loading branch information
1 parent
254d711
commit 7029569
Showing
3 changed files
with
23 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 13 additions & 1 deletion
14
types/auto/service/authentication/AuthenticationEvents.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,13 @@ | ||
export const IDENTITY_UPDATED: string; | ||
export declare enum AuthenticationEvents { | ||
/** | ||
* Event callback arguments: | ||
* function(authenticationEnabled, userIdentity) | ||
* authenticationEnabled - indicates whether authentication has been enabled | ||
* in this session | ||
* userIdentity - if user has been logged in then it contains user name. If | ||
* contains 'null' or 'undefined' then user is not logged in. | ||
*/ | ||
IDENTITY_UPDATED = "authentication.identity_updated" | ||
} | ||
export declare const IDENTITY_UPDATED = AuthenticationEvents.IDENTITY_UPDATED; | ||
export default AuthenticationEvents; |