Abstracted authorization for app