Sha256: 0222f2769fdbe5fc06dbd691e1fb00933601999112a35f9f165d932405367374
Contents?: true
Size: 1.03 KB
Versions: 1
Compression:
Stored size: 1.03 KB
Contents
# frozen_string_literal: true require "doorkeeper/grant_flow/flow" require "doorkeeper/grant_flow/fallback_flow" require "doorkeeper/grant_flow/registry" module Doorkeeper module GrantFlow extend Registry register( :implicit, response_type_matches: "token", response_type_strategy: Doorkeeper::Request::Token, ) register( :authorization_code, response_type_matches: "code", response_type_strategy: Doorkeeper::Request::Code, grant_type_matches: "authorization_code", grant_type_strategy: Doorkeeper::Request::AuthorizationCode, ) register( :client_credentials, grant_type_matches: "client_credentials", grant_type_strategy: Doorkeeper::Request::ClientCredentials, ) register( :password, grant_type_matches: "password", grant_type_strategy: Doorkeeper::Request::Password, ) register( :refresh_token, grant_type_matches: "refresh_token", grant_type_strategy: Doorkeeper::Request::RefreshToken, ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
doorkeeper-5.5.0.rc1 | lib/doorkeeper/grant_flow.rb |