Sha256: 405d6e0d018c7344b1ffffa890cd7cffb6649641f72068699f4599a66dec59a1

Contents?: true

Size: 98 Bytes

Versions: 39

Compression:

Stored size: 98 Bytes

Contents

class User < ActiveRecord::Base
  def self.from_token_payload payload
    payload["sub"]
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
auth0-5.1.1 examples/ruby-on-rails-api/app/models/User.rb
auth0-5.1.0 examples/ruby-on-rails-api/app/models/User.rb
auth0-5.0.1 examples/ruby-on-rails-api/app/models/User.rb
auth0-5.0.0 examples/ruby-on-rails-api/app/models/User.rb
auth0-4.17.1 examples/ruby-on-rails-api/app/models/User.rb
auth0-4.17.0 examples/ruby-on-rails-api/app/models/User.rb
auth0-4.16.0 examples/ruby-on-rails-api/app/models/User.rb
auth0-4.15.0 examples/ruby-on-rails-api/app/models/User.rb
auth0-4.14.0 examples/ruby-on-rails-api/app/models/User.rb
auth0-4.13.0 examples/ruby-on-rails-api/app/models/User.rb
auth0-4.12.0 examples/ruby-on-rails-api/app/models/User.rb
auth0-4.11.0 examples/ruby-on-rails-api/app/models/User.rb
auth0-4.10.0 examples/ruby-on-rails-api/app/models/User.rb
auth0-4.9.0 examples/ruby-on-rails-api/app/models/User.rb
auth0-4.8.0 examples/ruby-on-rails-api/app/models/User.rb
auth0-4.7.0 examples/ruby-on-rails-api/app/models/User.rb
auth0-4.6.0 examples/ruby-on-rails-api/app/models/User.rb
auth0-4.5.0 examples/ruby-on-rails-api/app/models/User.rb
auth0-4.4.0 examples/ruby-on-rails-api/app/models/User.rb