Created
January 18, 2023 10:08
-
-
Save Souvikns/17ea10e19c5a84341565710e5ef676db to your computer and use it in GitHub Desktop.
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
export default async function () { | |
return { | |
authentication: (servername: string, channelname: string, parsedAsyncAPISpec: AsyncAPI) { | |
if (servername === 'ws-client') { | |
return {token: process.env.TOKEN} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment