Sha256: b89a0ccf383b70a59ed31693f2ca3c8474e3bf8a17f36cce5e5d15841f612ead
Contents?: true
Size: 408 Bytes
Versions: 18
Compression:
Stored size: 408 Bytes
Contents
# frozen_string_literal: true module Frodo # Authentication middleware used if oauth_token and refresh_token are set class Middleware::Authentication::Token < Frodo::Middleware::Authentication def params { grant_type: 'refresh_token', refresh_token: @options[:refresh_token], client_id: @options[:client_id], client_secret: @options[:client_secret] } end end end
Version data entries
18 entries across 18 versions & 1 rubygems