in my opinion, for the needs with this goal, the button text should be “authorization” when you activate the button it will become “authorized” aka become the selected status. in my opinion it will make the user easier to understand because the text in the button is to the point.
whereas if you use a toggle you also need to add a text description to the toggle, when the state has not been authorized and which has been authorized. and that will also make it easier for users to understand because the text in the button is to the point.
The problem I got here is basically not straightboth are good to use, only in my opinion less to the point on theits purpose of the button...