Skip to content

signet as Faraday middleware? #7

@sporkmonger

Description

@sporkmonger

With the switch to Faraday, it might make sense to offer signet as Faraday middleware rather than acting as a front-end to it. E.g.

client = Signet::OAuth2::Client.new...
access_token = ... # get access token

conn = Faraday.new do |builder|
  builder. user Signet::OAuth2::Client, access_token
end

conn.get(...)

(Copied from @sqrrrl's issue on the original Signet project.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions