Adding authorizationParams to pass the optional duration setting