Sha256: ce29faf7abd094dc452bfba4c2a233dc30e5c15c0b8b38c39ae27e331bba6036
Contents?: true
Size: 483 Bytes
Versions: 3
Compression:
Stored size: 483 Bytes
Contents
# frozen_string_literal: true module Doorkeeper module OpenidConnect class ResponseMode attr_reader :type def initialize(response_type) @type = response_type end def fragment? mode == 'fragment' end def query? mode == 'query' end def mode case type when 'token', 'id_token', 'id_token token' 'fragment' else 'query' end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems