Android ConnectedLinkListener
The listener is used to observe authentication requests. It also extends LinkListener
Link has received an authentication request
Declaration
void onAuthenticationRequest(ConnectedLink link, AuthenticationRequestCallback callback);
Parameters
link | The link that received the authentication request |
callback | Object containing approve and decline functions |
Discussion
The approve function must be called before the timeout interval has elapsed for a successful authorisation
Read More
Authentication callback
Declaration
interface AuthenticationRequestCallback {
void approve();
void decline();
}
Discussion
AuthenticationRequestCallback is used by the user to either approve or decline the authentication request
Authentication request has timed out
Declaration
void onAuthenticationRequestTimeout(ConnectedLink link);
Parameters
link | The link that received the authentication request |
Discussion
This occurs when the callback for the authentication request has not been invoked in time. It means the the authentication request has been invalidated