Skip to content

Conversation

@KalpitTiwari03
Copy link

"RefreshAccessToken()" api is not exposed in Connector interface at the moment. Adding the same by introducing a wrapper over "RefreshAccessToken()" which returns an interface instead of TPP specific struct.

Other possible approach can be - moving out the struct "OauthRefreshAccessTokenResponse" to endpoint.go file and add
"RefreshAccessToken()" to Connector interface. But the struct is TPP specific so placing it in endpoint pkg does not look right therefor going with current approach.

RefreshAccessToken() api is not exposed in Connector interface
at the moment. Adding the same by introducing a wrapper over
RefreshAccessToken() which returns an interface instead of tpp
specific struct.

Other possible approach can be - moving out the struct
OauthRefreshAccessTokenResponse to endpoint.go file and add
RefreshAccessToken() to Connector interface. But the stuct
is TPP specific so placing it in endpoint pkg does not look
right therefor going with current approac
@KalpitTiwari03
Copy link
Author

Could I please get a review here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant