Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add method to create oauth credentials using client id/client secret #169

Merged
merged 2 commits into from
Aug 14, 2023

Conversation

romerosilva-meli
Copy link
Contributor

This branch includes the changes made at #168, refactoring it as an overloaded method to keep the original method as a separate way of using credentials using the access token as client secret.

Guido Zanon and others added 2 commits August 9, 2023 23:03
/// <returns>The OAuth credential.</returns>
/// <exception cref="MercadoPagoException">If a unexpected exception occurs.</exception>
/// <exception cref="MercadoPagoApiException">If the API returns a error.</exception>
public OAuthCredential CreateOAuthCredential(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Esse método não precisa do cancellationToken?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Somente métodos async possuem cancellationToken.

@romerosilva-meli romerosilva-meli merged commit f8a8bea into master Aug 14, 2023
1 check failed
@andreagostinho-meli andreagostinho-meli deleted the feature/add-oauth-credential-method branch July 31, 2024 14:19
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.

5 participants