module Doorkeeper::AccessGrantMixin::ClassMethods
def by_token(token)
-
(Doorkeeper::AccessGrant, nil)
-
Parameters:
-
token
(#to_s
) -- token value (any object that responds to `#to_s`)
def by_token(token) find_by_plaintext_token(:token, token) end