8

Need example code (yes, I have gone through the CPAN docs) to authenticate using Net::OAuth2

I have the following:

  • consumer key
  • consumer secret
  • access key
  • access secret

P.S. I believe generally, you provide the consumer key and secret and receive an access key and secret, but in this case, I already have them.

1 Answer 1

4

Aside from the SYNOPSIS in the POD for Net::OAuth2, which you have already looked at, does the code in the test directory help?

t/01-client.t

If not, you could contact the module author via the email address in the POD and ask for an example.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.