public function findAuth(Query $query, array $options)
    {
        return $query->contain('Groups', function (Query $q) {
            return $q->select(['name']);
        });
    }
public function findAuth(Query $query, array $options)
    {
        return $query->contain('Groups', function (Query $q) {
            return $q->select(['name']);
        });
    }
public function findAuth ( Query $ query , array $ options ) { return $ query -> contain ( 'Groups' , function ( Query $ q ) { return $ q -> select ( [ 'name' ] ) ; } ) ; }
"auth" find method
@param Query $query Query object
@param array $options Options
@return Query Query object
@since 2.25.1
auth find method