module FIS
PKCE modifies the standard authorization code grant. doorkeeper.gitbook.io/guides/ruby-on-rails/pkce-flow
Constants
- VERSION
Attributes
ui[W]
Public Class Methods
client()
click to toggle source
# File lib/fis.rb, line 41 def client @client ||= begin token = config.fetch(:identity, :portal, :token) if token.nil? || token.empty? FIS.ui.newline FIS.ui.error("You're not logged in. Please run `fis auth login` to continue.") exit end Client::Base.new(token: token) end end
config()
click to toggle source
# File lib/fis.rb, line 37 def config @config ||= Configuration.new end
ui()
click to toggle source
# File lib/fis.rb, line 33 def ui @ui ||= UI.new(TTY::Prompt.new) end