Method: Doorkeeper::AccessTokenMixin#same_credential?
- Defined in:
- lib/doorkeeper/models/access_token_mixin.rb
#same_credential?(access_token) ⇒ Boolean
Indicates whether the token instance have the same credential as the other Access Token.
376 377 378 379 |
# File 'lib/doorkeeper/models/access_token_mixin.rb', line 376 def same_credential?(access_token) application_id == access_token.application_id && same_resource_owner?(access_token) end |