Registers a prompter implementation for a given authentication method.
If there is registered a prompter for the same authentication_method, then the function does nothing, otherwise it adds its
own reference on the prompter_impl, and uses it for that authentication method. One prompter_impl can be
registered for multiple authentication methods.
A special value null can be used for the authentication_method, which means a default
credentials prompter, that is to be used when there is no prompter registered for the exact authentication method.
| this | |
| authentication_method |
an authentication method to registr |
| prompter_impl |
|
true on success, false on failure or when there was another prompter implementation registered for the given authentication method. |