Const credentials
credentials: { amqplain: any; external: any; plain: any }
Type declaration
-
amqplain: function
- amqplain(username: string, password: string): { mechanism: string; password: string; username: string; response: any }
-
Parameters
-
username: string
-
password: string
Returns { mechanism: string; password: string; username: string; response: any }
-
mechanism: string
-
password: string
-
username: string
-
response: function
-
Returns Buffer
-
external: function
- external(): { mechanism: string; response: any }
-
Returns { mechanism: string; response: any }
-
mechanism: string
-
response: function
-
Returns Buffer
-
plain: function
- plain(username: string, password: string): { mechanism: string; password: string; username: string; response: any }
-
Parameters
-
username: string
-
password: string
Returns { mechanism: string; password: string; username: string; response: any }
-
mechanism: string
-
password: string
-
username: string
-
response: function
-
Returns Buffer