class Doorkeeper::OAuth::Hooks::Context

Attributes

auth[R]
pre_auth[R]

Public Class Methods

new(**attributes) click to toggle source
# File lib/doorkeeper/oauth/hooks/context.rb, line 9
def initialize(**attributes)
  attributes.each do |name, value|
    instance_variable_set(:"@#{name}", value) if respond_to?(name)
  end
end

Public Instance Methods

issued_token() click to toggle source
# File lib/doorkeeper/oauth/hooks/context.rb, line 15
def issued_token
  auth&.issued_token
end