This could be: getAuthenticationRequestFromIntent that returns a AuthenticationRequest.