How to implement Incremental Authorization with Go

2019-09-12 21:23发布

I have an installed app that is a toolkit for the user, and as such they're able to choose their own scopes. I've run in to an issue with a scope limit when being passed as parameters via the URL. As such I'm looking to implement Incremental Authorization so that they only have to authorize scopes as they use them, and they don't have to also add scopes again from previous to overwrite.

I'm using the GoogleWebAuthorizationBroker class to do the authorization, but I'm not seeing anything that would allow me to implement Incremental Authorization without basically having to rewrite the delivered API classes. Is there any way to do this with the API?

0条回答
登录 后发表回答