class Doorkeeper::OAuth::TokenIntrospection

def valid_token?

Token can be valid only if it is not expired or revoked.
def valid_token?
  @token&.accessible?
end