lib/doorkeeper/oauth/authorization/token.rb in doorkeeper-5.4.0.rc2 vs lib/doorkeeper/oauth/authorization/token.rb in doorkeeper-5.4.0
- old
+ new
@@ -46,10 +46,10 @@
def initialize(pre_auth, resource_owner)
@pre_auth = pre_auth
@resource_owner = resource_owner
end
- def issue_token
+ def issue_token!
return @token if defined?(@token)
context = self.class.build_context(
pre_auth.client,
Doorkeeper::OAuth::IMPLICIT,