extract authorized function