AMPS C# Client
5.3.5.0
AMPS C# Client for .NET
|
A default implementation of the Authenticator interface that is used for basic username/password authentication. More...
Public Member Functions | |
virtual String | authenticate (String username_, String currentPassword_) |
Called by AMPS.Client, just before the logon command is sent. More... | |
virtual String | retry (String username_, String password_) |
Called when a logon "ack" is received with a status of "retry". More... | |
virtual void | completed (String username_, String password_, Message.Reasons reason_) |
Called when a logon completes successfully. More... | |
A default implementation of the Authenticator interface that is used for basic username/password authentication.
|
inlinevirtual |
Called by AMPS.Client, just before the logon command is sent.
username_ | The current value of the username as specified in the URI. |
currentPassword_ | The current value of the password, as specified in the URI. |
Implements AMPS.Client.Authenticator.
|
inlinevirtual |
Called when a logon completes successfully.
Once a logon has completed, this method is called with the username and password that caused a successful logon.
username_ | The username that successfully logged on to the server. |
password_ | The password that successfully logged on to the server. |
reason_ | The reason reported for success by the server. |
Implements AMPS.Client.Authenticator.
|
inlinevirtual |
Called when a logon "ack" is received with a status of "retry".
AMPS will continue trying to logon as long as the server returns "retry", and this method continues to succeed.
username_ | The username returned by the server's ACK message. |
password_ | The password or token returned in the server's ACK message. |
Implements AMPS.Client.Authenticator.