Skip to content

Support optional "realm" OAuth parameter#33

Description

@nicklangridge-amtivo

Web::API is great, thanks for your efforts 馃檹

It would be handy if it could support the optional "realm" parameter for OAuth 1.0, see the spec section 5.4.1. point 4: https://oauth.net/core/1.0a/#rfc.section.5.4.1. The parameter is required by some web services, e.g. the NetSuite REST API.

A solution might be to add a new optional realm attribute to the Web::API class and include it in the OAuth options if it has been supplied.

Is it something you would consider adding? or failing that, would you be willing to accept a pull request?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions