Providing Credentials to AMPS

When using the default authenticator, the AMPS clients support the standard format for including a username and password in a URI, as shown below:

ws://user:password@host:port/protocol/message_type

When provided in this form, the default authenticator provides the username and password specified in the URI. If you have implemented another authenticator, that authenticator controls how passwords are provided to the AMPS server.

Last updated