There is ability to add custom callbacks for AuthenticationService
callback({
client = new AvayaRecordingClient(clientConfig);
client.authenticationService.turnToUserModeCallbacks.add(function() {
//add your custom callback
});
});
callback({
client = new AvayaRecordingClient(clientConfig);
client.authenticationService.turnToGuestModeCallbacks.add(function() {
//add your custom callback
});
});
--- title: JavaScript Meeting Management Services Package version: 4.31.0.0 - Aug 2023 copyright: Copyright © 2013-2023 by Avaya, All Rights Reserved. publisher: devconnectprogram.com publisherAddress: Avaya comments: '' tableOfContents: true tocAccordion: 2 rightPanel: false publicOnly: false leftPanel: true tableOfContentHeader: true showPageTitle: true gridLayout: toc: 2 codePanelPercent: 50 headerHeight: 0 footerHeight: 0 documentSearch: true languageTabs: - javascript: JavaScript laTexMath: false codeHighlight: true codeHighlightTheme: agate tocSelectors: h2,h3,h4 tocFooters: [] versionLinks: - title: Current link: "/site/global/products_resources/avaya_client_sdk/programming_docs/current/introduction/index.gsp" newTab: false siteLinks: - title: Avaya Home link: "/" newTab: false documentCollectionOptions: tabs: false baseUrl: '' documentCollection: [] source_file: "/home/build/.jenkins/workspace/avaya-slate/source/site/global/products_resources/avaya_client_sdk/programming_docs/current/javascript/recording_management/guide/custom_login_callbacks.md" sourcePath: "/home/build/.jenkins/workspace/avaya-slate/source/site/global/products_resources/avaya_client_sdk/programming_docs/current/javascript/recording_management/guide" sourceFileName: custom_login_callbacks sourceType: ".md" url: site/global/products_resources/avaya_client_sdk/programming_docs/current/javascript/recording_management/guide/custom_login_callbacks.gsp urlPath: site/global/products_resources/avaya_client_sdk/programming_docs/current/javascript/recording_management/guide urlFileName: custom_login_callbacks urlExtension: ".gsp" titlePage: true gvars: - productFolder: client_sdk - releaseFolder: current BackToPackageOverview: "< Back to Package Overview" BpImages: "/static/images/avaya_client_sdk/programming_docs/current/" DwlAndroidSdk: "Android SDK" DwlIosSdk: "iOS SDK" DwlWindowsSdk: "Windows SDK" DwlMacosSdk: "macOS SDK" DwlJavaScriptSdk: "JavaScript SDK" DwlReleaseNotes: "Avaya Client SDK Release Notes" AvayaRecordingClient: "AvayaRecordingClient" Base_Responses: "Responses" Base_Responses_ObjectValidation: "ObjectValidation" Base_Responses_Promise: "Promise" Base_Responses_QueryProgramResponse: "QueryProgramResponse" Base_Responses_SimpleObjectResponse: "SimpleObjectResponse" Constants: "Constants" Config: "Config" Config_ClientConfig: "ClientConfig" Config_Logger: "Logger" Config_PlayersConfiguration: "PlayersConfiguration" Config_Resources_AuthorizationResources: "AuthorizationResources" Config_Resources: "Resources" Config_Resources_ProgramResources: "ProgramResources" Config_ServerInfo: "ServerInfo" Config_ServerInfo_Resources: "ServerInfo Resources" PlayerParams: "PlayerParams" PlayerClient: "PlayerClient" Services_AuthenticationService: "AuthenticationService" Services_AuthenticationService_Responses_TokenResponse: "TokenResponse" Services_ChatService_ChatMessage: "ChatMessage" Services_ChatService_ChatParams: "ChatParams" Services_ChatService_ChatSession: "ChatSession" Services_ChatService: "ChatService" Services: "Services" Services_ProgramService_Category: "Category" Services_ProgramService: "ProgramService" Services_ProgramService_PagedList: "PagedList" Services_ProgramService_Program: "Program" Services_ProgramService_ProgramAddress: "ProgramAddress" Services_ProgramService_ProgramParams: "ProgramParams" Services_ProgramService_ProgramStatus: "ProgramStatus" Services_ProgramService_Streams: "Streams" Services_ProgramService_Template: "Template" Services_ReportsService_AccessReport: "AccessReport" Services_ReportsService_AccessReportOneProgramParams: "AccessReportOneProgramParams" Services_ReportsService_AccessReportParams: "AccessReportParams" Services_ReportsService: "ReportsService" Services_ReportsService_ViewerReport: "ViewerReport" Services_ReportsService_ViewerReportEntry: "ViewerReportEntry" Services_SystemSettingsService: "SystemSettingsService" Services_SystemSettingsService_SystemSettings: "SystemSettings" Services_SystemSettingsService_SystemSettingsParams: "SystemSettingsParams" Services_TenantService: "TenantService" Services_TenantService_Tenant: "Tenant" Services_TenantService_TenantParams: "TenantParams" ConfiguringTheSDK: "Configuring The SDK" InitializingSDK: "Initializing SDK" WorkingCredentials: "Working with Credentials"