File: token_exchange.rb

package info (click to toggle)
ruby-rack-oauth2 2.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 560 kB
  • sloc: ruby: 4,013; makefile: 4
file content (15 lines) | stat: -rw-r--r-- 281 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module Rack
  module OAuth2
    class Client
      class Grant
        class TokenExchange < Grant
          attr_required :subject_token, :subject_token_type

          def grant_type
            URN::GrantType::TOKEN_EXCHANGE
          end
        end
      end
    end
  end
end