Umbraco Authorized Services is an open-source package designed to reduce the effort needed to integrate third party services that require authentication and authorization via an OAuth flow.
Current PR contains updates for handling access tokens in two manners:
Manually add access tokens for a service from the backoffice UI
a service that allows the save of access tokens from the interface will have the CanManuallyProvideToken property set to true in the settings.
this will toggle an input text field to be made visible in the backoffice service details page, where the editor can save a new access token.
a successful result will be displayed to the user.
Extend IAuthorizedServiceCaller interface to retrieve the access token for a service using the GetTokenAsync method. I have implemented the method to run async, as it did not invoke any asynchronous methods in its body.
Schema has been updated with details of the CanManuallyProvideToken property.
Current PR contains updates for handling access tokens in two manners:
Manually add access tokens for a service from the backoffice UI
CanManuallyProvideToken
property set to true in the settings.Extend
IAuthorizedServiceCaller
interface to retrieve the access token for a service using theGetTokenAsync
method. I have implemented the method to run async, as it did not invoke any asynchronous methods in its body.Schema has been updated with details of the
CanManuallyProvideToken
property.