module Doorkeeper::Orm::ActiveRecord::Mixins::AccessGrant

def generate_token

Returns:
  • (String) - token value
def generate_token
  @raw_token = Doorkeeper::OAuth::Helpers::UniqueToken.generate
  secret_strategy.store_secret(self, :token, @raw_token)
end